diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-04 09:25:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-04 09:25:16 +0400 |
commit | ef0edd1afc816a18d5a417467192505f98a73020 (patch) | |
tree | 6b9a448c8d5dc09813654ffb4047f17bf7cf9b8c /source/blender | |
parent | 24da4a6032543e3bdae5960e8b956caa25b38aae (diff) |
fix [#34473] Blender Crashes on toggling modes, dynatopo sculpt/object mode.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index 95b1809bbae..c98c18b9cdc 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -287,6 +287,9 @@ void sculptsession_bm_to_me(struct Object *ob, int reorder) BM_mesh_bm_to_me(ss->bm, ob->data, FALSE); } } + + /* ensure the objects DerivedMesh mesh doesn't hold onto arrays now realloc'd in the mesh [#34473] */ + DAG_id_tag_update(&ob->id, OB_RECALC_DATA); } } |