diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_transform.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_transform.c b/source/blender/editors/sculpt_paint/sculpt_transform.c index 5f55546c8a0..b3616254b26 100644 --- a/source/blender/editors/sculpt_paint/sculpt_transform.c +++ b/source/blender/editors/sculpt_paint/sculpt_transform.c @@ -203,7 +203,7 @@ void ED_sculpt_end_transform(struct bContext *C, Object *ob) * undo system works separate from regular undo and this is require to properly * finish an undo step also when canceling. */ const bool use_nested_undo = true; - SCULPT_undo_push_end_ex(use_nested_undo); + SCULPT_undo_push_end_ex(ob, use_nested_undo); SCULPT_flush_update_done(C, ob, SCULPT_UPDATE_COORDS); } |