Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2009-07-29 22:04:35 +0400
committerTon Roosendaal <ton@blender.org>2009-07-29 22:04:35 +0400
commit785bf413f30d70da9344caa8291726e0c1b247b9 (patch)
treefb2cfaedd94aa66c9339b1bc279e2f8cf5de0a20 /source/blender/editors/interface/interface_handlers.c
parent3d70e21c170f3fb0bd8f15ae02b4cc953fa3a9c2 (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/interface/interface_handlers.c')
-rw-r--r--source/blender/editors/interface/interface_handlers.c4
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);
}
}