Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-28 13:11:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-28 13:12:45 +0400
commit1e05956a0bbba43b5a91068447ec7ceae755a34c (patch)
tree607a408e04e4354fed5682999ed09c7747c688d1 /source/blender/editors/mesh/editmesh_utils.c
parentea269c21eaf663cd74c1c54acdcc9b0a0b19d3d4 (diff)
Fix T38872: Crazyspace could use stale derivedMesh data.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_utils.c')
-rw-r--r--source/blender/editors/mesh/editmesh_utils.c3
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 */