diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-26 01:13:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-26 01:13:40 +0400 |
commit | e2b41cb96f1ab9f3fc2e78eda2d5cc740487e95c (patch) | |
tree | 57bdb720f35f98dbd1c24fc978b485a614c50308 /source/blender/editors/util/undo.c | |
parent | b7af3207cca5b28b5b901258412bdfab00b41fca (diff) |
revert some changes from own commit r54850 which broke undo for toggle buttons, also make toggle buttons auto-key.
Diffstat (limited to 'source/blender/editors/util/undo.c')
-rw-r--r-- | source/blender/editors/util/undo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c index 8a0ef06ef12..ac2ee21d09d 100644 --- a/source/blender/editors/util/undo.c +++ b/source/blender/editors/util/undo.c @@ -83,8 +83,8 @@ void ED_undo_push(bContext *C, const char *str) Object *obact = CTX_data_active_object(C); if (G.debug & G_DEBUG) - printf("undo push %s\n", str); - + printf("%s: %s\n", __func__, str); + if (obedit) { if (U.undosteps == 0) return; |