Skip to content
Snippets Groups Projects
Commit 06d30213 authored by mano-wii's avatar mano-wii
Browse files

mesh_snap_utilities_line: fix face creation

parent f6819fe2
Branches
Tags
No related merge requests found
......@@ -182,14 +182,9 @@ def draw_line(self, bm_geom, location):
if self.create_face:
ed_list = set(self.list_edges)
for edge in v2.link_edges:
if edge not in ed_list:
if edge.other_vert(v2) in self.list_verts:
ed_list.add(edge)
break
else:
continue
# Inner loop had a break, break the outer
break
if edge not in ed_list and edge.other_vert(v2) in self.list_verts:
ed_list.add(edge)
break
ed_list.update(get_loose_linked_edges(v2))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment