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>2011-02-09 04:27:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-09 04:27:46 +0300
commitfdf60ba4a6b6da523698f7da79137dce7dbdb67e (patch)
tree12b20e7eb1a710136c02a7063e23fbe9154436ad /source/blender/editors/include
parent2a67a126e87e87f1aaf7bfa3cc2523f014dc1d77 (diff)
mesh validation function to report errors and help debug bad data generated by modifiers.
detects... - invalid vertex range for edges/faces - duplicate indices in edge/face - duplicate edges/faces in mesh - missing edges data in faces At the moment it doesn't correct errors, but eventually it will do this.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_mesh.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h
index 0e483750e1a..451bbe53bc9 100644
--- a/source/blender/editors/include/ED_mesh.h
+++ b/source/blender/editors/include/ED_mesh.h
@@ -51,6 +51,9 @@ struct MDeformWeight;
struct MDeformVert;
struct Scene;
struct Mesh;
+struct MFace;
+struct MEdge;
+struct MVert;
struct MCol;
struct UvVertMap;
struct UvMapVert;
@@ -79,6 +82,10 @@ struct rcti;
#define B_FRACTAL 0x2000
#define B_SPHERE 0x4000
+/* mesh_validate.c */
+void ED_mesh_validate_arrays(struct MVert *mverts, int totvert, struct MEdge *medges, int totedge, struct MFace *mfaces, int totface);
+void ED_mesh_validate(struct Mesh *me);
+
/* meshtools.c */
intptr_t mesh_octree_table(struct Object *ob, struct EditMesh *em, float *co, char mode);