Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-04 08:08:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-04 09:07:06 +0300
commiteeff7a2f3c9d4bb495d31a7190044be926b9a45e (patch)
tree366c4623022700f1a1e8e2b965abc17460e614f7 /source
parent79d3b0b733315444baf0a387aa09eac358683161 (diff)
Fix eternal loop in spin tool merge first/last
Diffstat (limited to 'source')
-rw-r--r--source/blender/bmesh/operators/bmo_dupe.c5
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;
}