diff options
-rw-r--r-- | source/blender/editors/util/undo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c index 4d14323a20b..ee02e0c396a 100644 --- a/source/blender/editors/util/undo.c +++ b/source/blender/editors/util/undo.c @@ -105,6 +105,9 @@ void ED_undo_push(bContext *C, const char *str) PE_undo_push(CTX_data_scene(C), str); } + else if (obact && obact->mode & OB_MODE_SCULPT) { + /* do nothing for now */ + } else { BKE_write_undo(C, str); } |