diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-23 18:29:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-23 18:29:51 +0400 |
commit | 9b7cc91134b5a173e3afe5b93093e1c3c21310b1 (patch) | |
tree | f5e1b79cd540e28415526514ea31141e648d686f /source/blender/blenkernel/intern | |
parent | 57c4e9c8f76c154ea1a0b43e2b37a6a1ccae5804 (diff) |
bugfix [#22169] LoopCut and Slide plus ArrayModifier Object offset FirstLast gives crash
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index e9cc21d6887..6f1cdefbcad 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -440,7 +440,7 @@ void transform_mesh_orco_verts(Mesh *me, float (*orco)[3], int totvert, int inve int test_index_face(MFace *mface, CustomData *fdata, int mfindex, int nr) { /* first test if the face is legal */ - if(mface->v3 && mface->v3==mface->v4) { + if((mface->v3 || nr==4) && mface->v3==mface->v4) { mface->v4= 0; nr--; } |