=bmesh= fixed edge loop preview, patch from Francisco De La Cruz. man did I hate writing this code, thanks Francisco for fixing this bug :)

This commit is contained in:
Joseph Eagar
2011-05-01 00:23:08 +00:00
parent e0c83f2de9
commit 1da8eee665

View File

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