Skip to content
Snippets Groups Projects
Commit ce63288e authored by Philipp Oeser's avatar Philipp Oeser
Browse files

F2: Fix T68342: error "New Face from edges"

This was happening when checking the neighboring face winding [which
could fail if the to-be-generated face is a triangle instead of a
quad].
parent 72599842
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ def quad_from_edge(bm, edge_sel, context, event):
flip_align = False
if flip_align: # there is a face to which the normal can be aligned
ref_verts = [v for v in normal_edge.link_faces[0].verts]
if v3 in ref_verts:
if v3 in ref_verts and v1 in ref_verts:
va_1 = v3
va_2 = v1
elif normal_edge == edge_sel:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment