Don't mark children nodes in a group below the buildplate

Fixes #8268
This commit is contained in:
Jaime van Kessel 2020-09-02 14:19:38 +02:00
parent 8f5c62c68d
commit 09066f2744
No known key found for this signature in database
GPG Key ID: 3710727397403C91

View File

@ -272,7 +272,7 @@ class BuildVolume(SceneNode):
continue continue
# If the entire node is below the build plate, still mark it as outside. # If the entire node is below the build plate, still mark it as outside.
node_bounding_box = node.getBoundingBox() node_bounding_box = node.getBoundingBox()
if node_bounding_box and node_bounding_box.top < 0: if node_bounding_box and node_bounding_box.top < 0 and not node.getParent().callDecoration("isGroup"):
node.setOutsideBuildArea(True) node.setOutsideBuildArea(True)
continue continue
# Mark the node as outside build volume if the set extruder is disabled # Mark the node as outside build volume if the set extruder is disabled