Fix eternal loop in spin tool merge first/last

This commit is contained in:
Campbell Barton
2019-01-04 16:08:42 +11:00
parent c97c76c01c
commit a68fef7c35

View File

@@ -573,11 +573,10 @@ void bmo_spin_exec(BMesh *bm, BMOperator *op)
BM_face_kill(bm, f_src);
elem_array_len--;
elem_array[i] = elem_array[elem_array_len];
continue;
}
}
else {
i++;
}
i++;
}
slot_geom_out->len = elem_array_len;
}