diff options
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index 75bfa4fe344..bc51606f3e5 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -493,6 +493,8 @@ static void sculpt_undo_restore_list(bContext *C, ListBase *lb) } } + DEG_id_tag_update(&ob->id, DEG_TAG_COPY_ON_WRITE); + BKE_sculpt_update_mesh_elements(depsgraph, scene, sd, ob, 0, need_mask); /* call _after_ sculpt_update_mesh_elements() which may update 'ob->derivedFinal' */ |