diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-17 08:54:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-17 08:54:57 +0400 |
commit | 62f440a0b2d9a074de24ef0891d03c536f25cc1a (patch) | |
tree | 99577344a86ae23837b25989c2d5e8ceeca8b6e1 /source | |
parent | 67b2985cceaf789e1b77d4f70864bf67ee9375c3 (diff) |
fix own error in bmesh -> mesh versioning
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index ef2249409f0..189ce890c2f 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -1589,7 +1589,7 @@ int mesh_mpoly_to_mface(struct CustomData *fdata, struct CustomData *ldata, mesh_loops_to_mface_corners(fdata, ldata, pdata, lindex, k, i, 3, numTex, numCol, hasWCol); - test_index_face(mf, fdata, totface, 3); + test_index_face(mf, fdata, k, 3); } else { /*sort loop indices to ensure winding is correct*/ @@ -1609,7 +1609,7 @@ int mesh_mpoly_to_mface(struct CustomData *fdata, struct CustomData *ldata, mesh_loops_to_mface_corners(fdata, ldata, pdata, lindex, k, i, 4, numTex, numCol, hasWCol); - test_index_face(mf, fdata, totface, 4); + test_index_face(mf, fdata, k, 4); } mf->edcode= 0; |