Blender Git Commit Log
Git Commits -> Revision 69470e3
Revision 69470e3 by Dalai Felinto (master) November 15, 2016, 13:25 (GMT) |
Implement grouped undo option for operators This option makes an operator to not push a task to the undo stack if the previous stored elemen is the same operator or part of the same undo group. The main usage is for animation, so you can change frames to inspect the poses, and revert the previous pose without having to roll back tons of "change frame" operator, or even see the undo stack full. This complements rB13ee9b8e Design with help by Sergey Sharybin. Reviewers: sergey, mont29 Reviewed By: mont29, sergey Subscribers: pyc0d3r, hjalti, Severin, lowercase, brecht, monio, aligorith, hadrien, jbakker Differential Revision: https://developer.blender.org/D2330 |
Commit Details:
Full Hash: 69470e36d6b17042260b06f26ca3c2f702747324
Parent Commit: 445274f
Lines Changed: +92, -9
9 Modified Paths:
/source/blender/blenkernel/BKE_blender_undo.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/blender_undo.c (+7, -0) (Diff)
/source/blender/editors/animation/anim_ops.c (+3, -1) (Diff)
/source/blender/editors/include/ED_util.h (+2, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+8, -4) (Diff)
/source/blender/editors/util/undo.c (+23, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+42, -4) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/blender_undo.c (+7, -0) (Diff)
/source/blender/editors/animation/anim_ops.c (+3, -1) (Diff)
/source/blender/editors/include/ED_util.h (+2, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+8, -4) (Diff)
/source/blender/editors/util/undo.c (+23, -0) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+42, -4) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+2, -0) (Diff)