diff options
author | Ton Roosendaal <ton@blender.org> | 2009-07-29 22:04:35 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-07-29 22:04:35 +0400 |
commit | 785bf413f30d70da9344caa8291726e0c1b247b9 (patch) | |
tree | fb2cfaedd94aa66c9339b1bc279e2f8cf5de0a20 /source/blender/editors | |
parent | 3d70e21c170f3fb0bd8f15ae02b4cc953fa3a9c2 (diff) |
2.5
On 2nd thought: added back undopushes on every button use.
Operator re-use works with it now!
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 6f2b49c0513..da2899dd3b2 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -358,8 +358,8 @@ static void ui_apply_but_funcs_after(bContext *C) if(after.rename_orig) MEM_freeN(after.rename_orig); -// if(after.undostr[0]) -// ED_undo_push(C, after.undostr); + if(after.undostr[0]) + ED_undo_push(C, after.undostr); } } |