Skip to content
Snippets Groups Projects
Commit d030a694 authored by Campbell Barton's avatar Campbell Barton
Browse files

Fix T38788: zero area faces raised exception with overhang test

parent 8ec6e601
No related branches found
No related tags found
No related merge requests found
......@@ -297,8 +297,9 @@ class Print3DCheckOverhang(Operator):
z_down = Vector((0, 0, -1.0))
z_down_angle = z_down.angle
# 4.0 ignores zero area faces
faces_overhang = [ele.index for ele in bm.faces
if z_down_angle(ele.normal) < angle_overhang]
if z_down_angle(ele.normal, 4.0) < angle_overhang]
info.append(("Overhang Face: %d" % len(faces_overhang),
(bmesh.types.BMFace, faces_overhang)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment