diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-12 15:09:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-12 15:09:27 +0400 |
commit | db1191d4519251ed93b570f0e09b375c249a4ef2 (patch) | |
tree | e32127052baaf688d3c10f5d90ac54743cbfbf79 /source/blender/editors/util/undo.c | |
parent | d86f1f67fd3c930085b3599df6d267cba3750b65 (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/undo.c')
-rw-r--r-- | source/blender/editors/util/undo.c | 3 |
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) { |