=bmesh= merge from trunk at r36529
[blender.git] / source / blender / blenkernel / intern / mesh_validate.c
index 34618a19ae9e521fc687c8dcc8200874623f9313..46bf47b13f58d40fe105e8a183d88c0ecd50dea8 100644 (file)
@@ -315,7 +315,7 @@ int BKE_mesh_validate(Mesh *me, int do_verbose)
 
 int BKE_mesh_validate_dm(DerivedMesh *dm)
 {
-       return BKE_mesh_validate_arrays(NULL, dm->getVertArray(dm), dm->getNumVerts(dm), dm->getEdgeArray(dm), dm->getNumEdges(dm), dm->getFaceArray(dm), dm->getNumFaces(dm), TRUE, FALSE);
+       return BKE_mesh_validate_arrays(NULL, dm->getVertArray(dm), dm->getNumVerts(dm), dm->getEdgeArray(dm), dm->getNumEdges(dm), dm->getTessFaceArray(dm), dm->getNumTessFaces(dm), TRUE, FALSE);
 }
 
 void BKE_mesh_calc_edges(Mesh *mesh, int update)