Fix a trunk->bmesh MSVC build break

This commit is contained in:
Andrew Wiggin
2011-09-23 15:30:34 +00:00
parent bf95e3c34e
commit f6510be5ac

View File

@@ -1291,8 +1291,6 @@ static void mesh_calc_modifiers(Scene *scene, Object *ob, float (*inputVertexCos
* data by using generic DM_copy_vert_data() functions.
*/
if(needMapping || (nextmask & CD_MASK_ORIGINDEX)) {
int i;
/* calc */
DM_add_vert_layer(dm, CD_ORIGINDEX, CD_CALLOC, NULL);
DM_add_edge_layer(dm, CD_ORIGINDEX, CD_CALLOC, NULL);