More DM func renames, fixing some build breaks, renaming more stuff, also seems like...
[blender.git] / source / blender / gpu / intern / gpu_buffers.c
index 25347cc54c61cd18b611ded751c98169b6f9ec67..0cbe5d72bfd896488daea6780508dfb2630d5821 100644 (file)
@@ -783,7 +783,7 @@ static void GPU_buffer_copy_uvedge(DerivedMesh *dm, float *varray, int *UNUSED(i
        if(!tf)
                return;
 
-       for(i = 0; i < dm->numFaceData; i++, tf++) {
+       for(i = 0; i < dm->numTessFaceData; i++, tf++) {
                MFace mf;
                dm->getTessFace(dm,i,&mf);