Fix group models bounds check. CURA-3640

This commit is contained in:
Jack Ha 2017-04-03 15:06:40 +02:00
parent 5de3a614ea
commit 892140150a

View file

@ -201,7 +201,7 @@ class BuildVolume(SceneNode):
if node.callDecoration("isGroup"): if node.callDecoration("isGroup"):
group_nodes.append(node) # Keep list of affected group_nodes group_nodes.append(node) # Keep list of affected group_nodes
if node.callDecoration("isSliceable"): if node.callDecoration("isSliceable") or node.callDecoration("isGroup"):
node._outside_buildarea = False node._outside_buildarea = False
bbox = node.getBoundingBox() bbox = node.getBoundingBox()
@ -220,8 +220,6 @@ class BuildVolume(SceneNode):
if overlap is None: if overlap is None:
continue continue
node._outside_buildarea = True node._outside_buildarea = True
# from UM.Logger import Logger
# Logger.log("d", " # A node is outside build area")
break break
# Group nodes should override the _outside_buildarea property of their children. # Group nodes should override the _outside_buildarea property of their children.