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>2012-09-12 15:09:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-12 15:09:27 +0400
commitdb1191d4519251ed93b570f0e09b375c249a4ef2 (patch)
treee32127052baaf688d3c10f5d90ac54743cbfbf79 /source/blender/editors/util
parentd86f1f67fd3c930085b3599df6d267cba3750b65 (diff)
fix [#31019] [Minor] Freshly added nodes aren't getting undo push
also noticed ED_undo_push was checking USER_GLOBALUNDO unnecessarily
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r--source/blender/editors/util/undo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c
index 2ffad3ad796..5eafc3e65a9 100644
--- a/source/blender/editors/util/undo.c
+++ b/source/blender/editors/util/undo.c
@@ -107,8 +107,7 @@ void ED_undo_push(bContext *C, const char *str)
PE_undo_push(CTX_data_scene(C), str);
}
else {
- if (U.uiflag & USER_GLOBALUNDO)
- BKE_write_undo(C, str);
+ BKE_write_undo(C, str);
}
if (wm->file_saved) {