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/modifiers
parent23c8298ca042db6e00f319663fbe3f82c87db68e (diff)
bmesh: debugging function to help resolve issues with corrupt mesh data - BM_mesh_validate()
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_edgesplit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_edgesplit.c b/source/blender/modifiers/intern/MOD_edgesplit.c
index 9fb4821229c..e50c0d5521b 100644
--- a/source/blender/modifiers/intern/MOD_edgesplit.c
+++ b/source/blender/modifiers/intern/MOD_edgesplit.c
@@ -103,6 +103,8 @@ static DerivedMesh *doEdgeSplit(DerivedMesh *dm, EdgeSplitModifierData *emd, Obj
BMO_pop(bm);
+ /* BM_mesh_validate(bm); */ /* for troubleshooting */
+
BLI_assert(em->looptris == NULL);
result = CDDM_from_BMEditMesh(em, NULL, TRUE, FALSE);
BMEdit_Free(em);