diff options
author | Jack Ha <j.ha@ultimaker.com> | 2017-04-03 16:06:40 +0300 |
---|---|---|
committer | Jack Ha <j.ha@ultimaker.com> | 2017-04-03 16:06:40 +0300 |
commit | 892140150a7d2b61df84c1383aec28774b66863c (patch) | |
tree | f6b0dec31b8fa55b0b09e3fb104de98e8094da8d | |
parent | 5de3a614ea29e2b79cd66dcf5b604c3fc7c8a60e (diff) |
Fix group models bounds check. CURA-3640
-rwxr-xr-x | cura/BuildVolume.py | 4 |
1 files changed, 1 insertions, 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. |