mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Don't disable group nodes if it's extruder is disabled
Group nodes don't really have an extruder, so exclude them from that check CURA-7710 Fixes #8336
This commit is contained in:
parent
db8153e9bb
commit
a613a70758
@ -289,7 +289,7 @@ class BuildVolume(SceneNode):
|
|||||||
# 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
|
||||||
extruder_position = node.callDecoration("getActiveExtruderPosition")
|
extruder_position = node.callDecoration("getActiveExtruderPosition")
|
||||||
try:
|
try:
|
||||||
if not self._global_container_stack.extruderList[int(extruder_position)].isEnabled:
|
if not self._global_container_stack.extruderList[int(extruder_position)].isEnabled and not node.callDecoration("isGroup"):
|
||||||
node.setOutsideBuildArea(True)
|
node.setOutsideBuildArea(True)
|
||||||
continue
|
continue
|
||||||
except IndexError: # Happens when the extruder list is too short. We're not done building the printer in memory yet.
|
except IndexError: # Happens when the extruder list is too short. We're not done building the printer in memory yet.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user