svn merge ^/trunk/blender -r43830:43864
[blender-staging.git] / source / blender / blenkernel / intern / navmesh_conversion.c
index e6749730fc990f8952869343197a175e31accc09..4c9c0a3a1fc00aae2f022b0008d6733efeba8b35 100644 (file)
@@ -134,8 +134,8 @@ int buildRawVertIndicesData(DerivedMesh* dm, int *nverts_r, float **verts_r,
        }
 
        //calculate number of tris
-       nfaces = dm->getNumFaces(dm);
-       faces = dm->getFaceArray(dm);
+       nfaces = dm->getNumTessFaces(dm);
+       faces = dm->getTessFaceArray(dm);
        ntris = nfaces;
        for (fi=0; fi<nfaces; fi++)
        {