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>2012-03-22 09:13:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-22 09:13:43 +0400
commit675628d24deba0afdc3da5b7a5bc802b13506251 (patch)
tree98664ef3860a9c421c35202237800c7925608ad5 /source/blender/editors
parent23c8298ca042db6e00f319663fbe3f82c87db68e (diff)
bmesh: debugging function to help resolve issues with corrupt mesh data - BM_mesh_validate()
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/mesh/bmesh_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/bmesh_utils.c b/source/blender/editors/mesh/bmesh_utils.c
index 085624fe23f..9bff0e7310c 100644
--- a/source/blender/editors/mesh/bmesh_utils.c
+++ b/source/blender/editors/mesh/bmesh_utils.c
@@ -527,6 +527,8 @@ static void *editbtMesh_to_undoMesh(void *emv, void *obdata)
#endif
+ /* BM_mesh_validate(em->bm); */ /* for troubleshooting */
+
BMO_op_callf(em->bm, "bmesh_to_mesh mesh=%p notessellation=%b", &um->me, TRUE);
um->selectmode = em->selectmode;