fix compile errors for previous merge
[blender.git] / source / blender / blenkernel / intern / cdderivedmesh.c
index 646497e5e11a4f3c4ab774786e74699e05224f73..e5196c4694aabf0a54d3128b3d5f8ffd0c060392 100644 (file)
@@ -1397,9 +1397,9 @@ static void cdDM_drawMappedFacesMat(DerivedMesh *dm,
        DMVertexAttribs attribs;
        MVert *mvert = cddm->mvert;
        MFace *mf = cddm->mface;
-       float (*nors)[3] = dm->getFaceDataArray(dm, CD_NORMAL);
+       float (*nors)[3] = dm->getTessFaceDataArray(dm, CD_NORMAL);
        int a, matnr, new_matnr;
-       int orig, *index = dm->getFaceDataArray(dm, CD_ORIGINDEX);
+       int orig, *index = dm->getTessFaceDataArray(dm, CD_ORIGINDEX);
 
        cdDM_update_normals_from_pbvh(dm);