bmesh: fixed merge issues with navmesh (though I've not tested if it works yet).
[blender.git] / source / blender / blenkernel / intern / navmesh_conversion.c
index e3b5b83964e9f540e77fa51297a744d31a02a332..53eee35de3ac92bd786c71e2ff7526f451f74284 100644 (file)
@@ -135,7 +135,7 @@ int buildRawVertIndicesData(DerivedMesh* dm, int *nverts_r, float **verts_r,
 
        //calculate number of tris
        nfaces = dm->getNumFaces(dm);
-       faces = dm->getFaceArray(dm);
+       faces = dm->getTessFaceArray(dm);
        ntris = nfaces;
        for (fi=0; fi<nfaces; fi++)
        {