[Bf-extensions-cvs] [06d30213] master: mesh_snap_utilities_line: fix face creation

mano-wii noreply at git.blender.org
Wed Jan 2 13:33:39 CET 2019


Commit: 06d30213f0cc2246acea9d80073e8105f3ba6685
Author: mano-wii
Date:   Tue Jan 1 14:29:38 2019 -0200
Branches: master
https://developer.blender.org/rBA06d30213f0cc2246acea9d80073e8105f3ba6685

mesh_snap_utilities_line: fix face creation

===================================================================

M	mesh_snap_utilities_line/ops_line.py

===================================================================

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))



More information about the Bf-extensions-cvs mailing list