diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-04 08:08:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-04 08:14:00 +0300 |
commit | a68fef7c3545cc632f8b9a543a9c31755f39dddb (patch) | |
tree | f329f33d704cd0e4c217873516503b51e03ab2c7 /source | |
parent | c97c76c01c1dac5038891557ff2666612cf09a03 (diff) |
Fix eternal loop in spin tool merge first/last
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/bmesh/operators/bmo_dupe.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/bmesh/operators/bmo_dupe.c b/source/blender/bmesh/operators/bmo_dupe.c index 77019e13969..7f13731dc02 100644 --- a/source/blender/bmesh/operators/bmo_dupe.c +++ b/source/blender/bmesh/operators/bmo_dupe.c @@ -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; } |