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:
authorCampbell Barton <ideasman42@gmail.com>2013-02-26 01:13:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-26 01:13:40 +0400
commite2b41cb96f1ab9f3fc2e78eda2d5cc740487e95c (patch)
tree57bdb720f35f98dbd1c24fc978b485a614c50308 /source/blender/editors/util/undo.c
parentb7af3207cca5b28b5b901258412bdfab00b41fca (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.c4
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;