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:
Peng Yan
2023-09-25 16:00:54 +10:00
committed by Campbell Barton
parent 6c91e1c205
commit f59ef84835

View File

@@ -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;