Blender Git Loki

Git Commits -> Revision e535ff4

Revision e535ff4 by Campbell Barton (master)
February 6, 2019, 00:52 (GMT)
Undo System: remove accumulate/store modes

This complicated handling of undo steps in a generic way
especially switching between undo systems that stored data to ones
that accumulated changes.

Now each undo system must treat it's steps as check-point,
internally it can apply/rewind changes.

This commit also fixes projection paint where the object mode wasn't
following the undo steps.

Commit Details:

Full Hash: e535ff44ffd686def7aafec401acec657f5a614c
Parent Commit: 8996e26
Lines Changed: +268, -94

18 Modified Paths:

/source/blender/blenkernel/BKE_undo_system.h (+5, -16) (Diff)
/source/blender/blenkernel/intern/undo_system.c (+15, -18) (Diff)
/source/blender/editors/armature/editarmature_undo.c (+0, -1) (Diff)
/source/blender/editors/curve/editcurve_undo.c (+0, -1) (Diff)
/source/blender/editors/curve/editfont_undo.c (+0, -1) (Diff)
/source/blender/editors/include/ED_paint.h (+1, -1) (Diff)
/source/blender/editors/lattice/editlattice_undo.c (+0, -1) (Diff)
/source/blender/editors/mesh/editmesh_undo.c (+0, -1) (Diff)
/source/blender/editors/metaball/editmball_undo.c (+0, -1) (Diff)
/source/blender/editors/physics/particle_edit_undo.c (+0, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_curve_undo.c (+0, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_undo.c (+114, -31) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+55, -3) (Diff)
/source/blender/editors/space_image/image_ops.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_undo.c (+61, -12) (Diff)
/source/blender/editors/undo/memfile_undo.c (+13, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021