diff options
-rw-r--r-- | source/blender/editors/mesh/editmesh_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c index 1d8e506fe85..4d5fbda1ec6 100644 --- a/source/blender/editors/mesh/editmesh_utils.c +++ b/source/blender/editors/mesh/editmesh_utils.c @@ -1324,6 +1324,9 @@ void EDBM_update_generic(BMEditMesh *em, const bool do_tessface, const bool is_d /* in debug mode double check we didn't need to recalculate */ BLI_assert(BM_mesh_elem_table_check(em->bm) == true); } + + /* don't keep stale derivedMesh data around, see: [#38872] */ + BKE_editmesh_free_derivedmesh(em); } /* poll call for mesh operators requiring a view3d context */ |