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:
Jaime van Kessel 2021-11-05 16:31:35 +01:00
parent db8153e9bb
commit a613a70758

View File

@ -289,7 +289,7 @@ class BuildVolume(SceneNode):
# Mark the node as outside build volume if the set extruder is disabled
extruder_position = node.callDecoration("getActiveExtruderPosition")
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)
continue
except IndexError: # Happens when the extruder list is too short. We're not done building the printer in memory yet.