Cleanup: avoid redundant loop extruding face regions
Correct typo in bmo_extrude.cc that lead to a redundant loop over a vertices faces.
This commit is contained in:
committed by
Campbell Barton
parent
6c91e1c205
commit
f59ef84835
@@ -384,7 +384,7 @@ void bmo_extrude_face_region_exec(BMesh *bm, BMOperator *op)
|
||||
}
|
||||
|
||||
/* avoid an extra loop */
|
||||
if (found == true) {
|
||||
if (found == false) {
|
||||
BM_ITER_ELEM (f, &viter, v, BM_FACES_OF_VERT) {
|
||||
if (!BMO_face_flag_test(bm, f, EXT_INPUT)) {
|
||||
found = true;
|
||||
|
||||
Reference in New Issue
Block a user