From 892140150a7d2b61df84c1383aec28774b66863c Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Mon, 3 Apr 2017 15:06:40 +0200 Subject: [PATCH] Fix group models bounds check. CURA-3640 --- cura/BuildVolume.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index ebac163df1..0ca4550d7f 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -201,7 +201,7 @@ class BuildVolume(SceneNode): if node.callDecoration("isGroup"): 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 bbox = node.getBoundingBox() @@ -220,8 +220,6 @@ class BuildVolume(SceneNode): if overlap is None: continue node._outside_buildarea = True - # from UM.Logger import Logger - # Logger.log("d", " # A node is outside build area") break # Group nodes should override the _outside_buildarea property of their children.