Blender Git Commit Log
Git Commits -> Revision f49d7d5
Revision f49d7d5 by Ton Roosendaal (master) January 19, 2011, 14:19 (GMT) |
Bugfix #25652 Report was that move-to-layer menu failed. The real cause was more complex; had to dive deep in the dungeons of the interface code that handled undos and operators. Found several issues: - popup menus (like redo operator, color picker) executed again on a mouse-exit - far too many buttons were sending undo pushes; even worse, in the operator redo-panel each button action was pushed twice - in case operator redo-buttons have own callbacks (like layer buttons) the redo wasn't working - layerbutton menu was called without creating a proper undo/redo case Things should all work smoother now! On todo: - better definition and handling of all versions for operator menus (four types now, not fun) also: make operator "do" menu, which on first action does operator and then switches to redo-ing - bring back Undo menu, to list the undo stack and jump in it. |
Commit Details:
Full Hash: f49d7d59dc0a83e074e9202a54c22f3c056aa5a6
SVN Revision: 34401
Parent Commit: 4502889
Lines Changed: +23, -15
7 Modified Paths:
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+3, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_layout.c (+9, -1) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+5, -9) (Diff)
/source/blender/editors/interface/interface.c (+3, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_layout.c (+9, -1) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+5, -9) (Diff)