From 1da8eee665ed5dad221dbd3c8af0dd109ffc00d3 Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Sun, 1 May 2011 00:23:08 +0000 Subject: [PATCH] =bmesh= fixed edge loop preview, patch from Francisco De La Cruz. man did I hate writing this code, thanks Francisco for fixing this bug :) --- source/blender/editors/mesh/loopcut.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/blender/editors/mesh/loopcut.c b/source/blender/editors/mesh/loopcut.c index e5e0e8ca596..e0af2d1b61c 100644 --- a/source/blender/editors/mesh/loopcut.c +++ b/source/blender/editors/mesh/loopcut.c @@ -249,8 +249,11 @@ static void edgering_sel(tringselOpData *lcd, int previewlines, int select) } if (BM_Edge_Share_Faces(lasteed, startedge)) { - edgering_find_order(em, lasteed, startedge, lastv1, v); + v[1][0] = v[0][0]; + v[1][1] = v[0][1]; + edgering_find_order(em, lasteed, startedge, lastv1, v); + for(i=1;i<=previewlines;i++){ if (!v[0][0] || !v[0][1] || !v[1][0] || !v[1][1]) continue;