Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2019-08-07 18:45:51 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-08-07 18:58:18 +0300
commitce63288eaf7033ec52e4e13a9a80e94b96e55920 (patch)
tree21a0a04588e5b7cfbb9bb353ce669b09d1666bfe /mesh_f2.py
parent72599842ab5bceaeec46623f382f3af2c3715d3b (diff)
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].
Diffstat (limited to 'mesh_f2.py')
-rw-r--r--mesh_f2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh_f2.py b/mesh_f2.py
index 672ba886..c6dc74a6 100644
--- a/mesh_f2.py
+++ b/mesh_f2.py
@@ -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: