Fix sculpt mode undo (COW update needed)
This commit is contained in:
parent
a3f520170c
commit
d9d3e7778c
|
@ -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' */
|
||||
|
|
Loading…
Reference in New Issue