From 06d30213f0cc2246acea9d80073e8105f3ba6685 Mon Sep 17 00:00:00 2001
From: mano-wii <germano.costa@ig.com.br>
Date: Tue, 1 Jan 2019 14:29:38 -0200
Subject: [PATCH] mesh_snap_utilities_line: fix face creation

---
 mesh_snap_utilities_line/ops_line.py | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/mesh_snap_utilities_line/ops_line.py b/mesh_snap_utilities_line/ops_line.py
index bcecb60fc..69be59a70 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))
 
-- 
GitLab