diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-01-01 19:29:38 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-01-02 14:32:24 +0300 |
commit | 06d30213f0cc2246acea9d80073e8105f3ba6685 (patch) | |
tree | a38335e429eb14a8e945427557675d2120dc42be /mesh_snap_utilities_line | |
parent | f6819fe26e6c5abd00bebc45f14fc679fa5cc259 (diff) |
mesh_snap_utilities_line: fix face creation
Diffstat (limited to 'mesh_snap_utilities_line')
-rw-r--r-- | mesh_snap_utilities_line/ops_line.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/mesh_snap_utilities_line/ops_line.py b/mesh_snap_utilities_line/ops_line.py index bcecb60f..69be59a7 100644 --- a/mesh_snap_utilities_line/ops_line.py +++ b/mesh_snap_utilities_line/ops_line.py @@ -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)) |