Fix sculpt assert on initialization
authorCampbell Barton <ideasman42@gmail.com>
Thu, 7 Jun 2018 11:38:46 +0000 (13:38 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 7 Jun 2018 11:39:49 +0000 (13:39 +0200)
source/blender/blenkernel/intern/undo_system.c

index 7eaf42591f0619054dff093a50d383f6558bd6bd..a8f895853ed667ff0dde36be3426f2580147d249 100644 (file)
@@ -375,7 +375,7 @@ UndoStep *BKE_undosys_step_push_init_with_type(UndoStack *ustack, bContext *C, c
                us->type = ut;
                ustack->step_init = us;
                ut->step_encode_init(C, us);
-               undosys_stack_validate(ustack, true);
+               undosys_stack_validate(ustack, false);
                return us;
        }
        else {