2.5
authorTon Roosendaal <ton@blender.org>
Wed, 29 Jul 2009 18:04:35 +0000 (18:04 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 29 Jul 2009 18:04:35 +0000 (18:04 +0000)
On 2nd thought: added back undopushes on every button use.
Operator re-use works with it now!

source/blender/editors/interface/interface_handlers.c

index 6f2b49c0513e2bab97408918b9815611eac384c5..da2899dd3b21892ff0ca265c9e2a138989ddf111 100644 (file)
@@ -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);
        }
 }