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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/mesh/editmesh_loopcut.c')
-rw-r--r--source/blender/editors/mesh/editmesh_loopcut.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c
index f7e983fb745..3c1b210d171 100644
--- a/source/blender/editors/mesh/editmesh_loopcut.c
+++ b/source/blender/editors/mesh/editmesh_loopcut.c
@@ -261,11 +261,14 @@ static void edgering_sel(RingSelOpData *lcd, int previewlines, bool select)
eed_last = eed;
}
+ if ((eed_last != eed_start) &&
#ifdef BMW_EDGERING_NGON
- if (lasteed != startedge && BM_edge_share_face_check(lasteed, startedge)) {
+ BM_edge_share_face_check(eed_last, eed_start)
#else
- if (eed_last != eed_start && BM_edge_share_quad_check(eed_last, eed_start)) {
+ BM_edge_share_quad_check(eed_last, eed_start)
#endif
+ )
+ {
v[1][0] = v[0][0];
v[1][1] = v[0][1];