Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Wiggin <ender79bl@gmail.com>2011-11-30 22:03:56 +0400
committerAndrew Wiggin <ender79bl@gmail.com>2011-11-30 22:03:56 +0400
commitbc9b593909486e4254657596ccda5bea5577a968 (patch)
tree431a528a32494db20fb891628935f7724c07f128 /source/blender/editors/space_view3d/drawmesh.c
parent8a46e46d2c537401dee1d8186b10a7e69138c62a (diff)
More DM func renames, fixing some build breaks, renaming more stuff, also seems like it might be fixing the recent CDDM_copy corruption/leak bug
Diffstat (limited to 'source/blender/editors/space_view3d/drawmesh.c')
-rw-r--r--source/blender/editors/space_view3d/drawmesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c
index d3d43581c90..d448de139a6 100644
--- a/source/blender/editors/space_view3d/drawmesh.c
+++ b/source/blender/editors/space_view3d/drawmesh.c
@@ -501,7 +501,7 @@ static void add_tface_color_layer(DerivedMesh *dm)
}
}
}
- CustomData_add_layer( &dm->faceData, CD_TEXTURE_MCOL, CD_ASSIGN, finalCol, dm->numFaceData );
+ CustomData_add_layer( &dm->faceData, CD_TEXTURE_MCOL, CD_ASSIGN, finalCol, dm->numTessFaceData );
}
static int draw_tface_mapped__set_draw(void *userData, int index)