mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 13:39:00 +08:00
Fix group models bounds check. CURA-3640
This commit is contained in:
parent
5de3a614ea
commit
892140150a
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user