diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-01 11:33:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-01 11:34:00 +0300 |
commit | 3b2d3a3cd11d07945b18252359378ffadddfe3bd (patch) | |
tree | cc6fadbcd1310b32bf4eaa7dd436f3126004ccc7 /source/blender/editors/sculpt_paint/sculpt.c | |
parent | 7bdc67f5f336584f355b828482e5519a5176386a (diff) |
Fix crash switching sculpt/vpaint -> edit mode
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 540882aa022..c0674289a5a 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -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) |