bugfix [#25523] Face extrude will crash Blender if array and subsurf modifier are added to mesh object
test_index_face() failed to fix indices like (6,0,0,6), making it (0,6,6,0).
This commit is contained in:
@@ -444,7 +444,7 @@ int test_index_face(MFace *mface, CustomData *fdata, int mfindex, int nr)
|
||||
mface->v4= 0;
|
||||
nr--;
|
||||
}
|
||||
if(mface->v2 && mface->v2==mface->v3) {
|
||||
if((mface->v2 || mface->v4) && mface->v2==mface->v3) {
|
||||
mface->v3= mface->v4;
|
||||
mface->v4= 0;
|
||||
nr--;
|
||||
|
||||
Reference in New Issue
Block a user