forked from bartvdbraak/blender
Fix crash switching sculpt/vpaint -> edit mode
This commit is contained in:
parent
7bdc67f5f3
commit
3b2d3a3cd1
@ -1188,6 +1188,8 @@ static void ed_vwpaintmode_exit_generic(
|
||||
ED_mesh_mirror_spatial_table(NULL, NULL, NULL, NULL, 'e');
|
||||
ED_mesh_mirror_topo_table(NULL, NULL, 'e');
|
||||
}
|
||||
|
||||
DEG_id_tag_update(&ob->id, DEG_TAG_COPY_ON_WRITE);
|
||||
}
|
||||
|
||||
void ED_object_vpaintmode_exit_ex(Object *ob)
|
||||
|
@ -5787,6 +5787,8 @@ void ED_object_sculptmode_exit_ex(
|
||||
BKE_sculptsession_free(ob);
|
||||
|
||||
paint_cursor_delete_textures();
|
||||
|
||||
DEG_id_tag_update(&ob->id, DEG_TAG_COPY_ON_WRITE);
|
||||
}
|
||||
|
||||
void ED_object_sculptmode_exit(bContext *C)
|
||||
|
Loading…
Reference in New Issue
Block a user