Fixed outside boundary check boo boo. CURA-3239

This commit is contained in:
Jack Ha 2017-04-06 16:01:57 +02:00
parent 203ebcf1a1
commit 91edf5589e

View File

@ -208,7 +208,7 @@ class BuildVolume(SceneNode):
# Mark the node as outside the build volume if the bounding box test fails. # Mark the node as outside the build volume if the bounding box test fails.
if build_volume_bounding_box.intersectsBox(bbox) != AxisAlignedBox.IntersectionResult.FullIntersection: if build_volume_bounding_box.intersectsBox(bbox) != AxisAlignedBox.IntersectionResult.FullIntersection:
node._outside_buildarea = True node._outside_buildarea = True
break continue
convex_hull = node.callDecoration("getConvexHull") convex_hull = node.callDecoration("getConvexHull")
if convex_hull: if convex_hull:
@ -220,7 +220,7 @@ class BuildVolume(SceneNode):
if overlap is None: if overlap is None:
continue continue
node._outside_buildarea = True node._outside_buildarea = True
break continue
# Group nodes should override the _outside_buildarea property of their children. # Group nodes should override the _outside_buildarea property of their children.
for group_node in group_nodes: for group_node in group_nodes: