Merge branch '4.6'

This commit is contained in:
Ghostkeeper 2020-04-09 12:55:50 +02:00
commit 54b6c2a54e
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -274,7 +274,9 @@ class BuildVolume(SceneNode):
if not self._global_container_stack.extruderList[int(extruder_position)].isEnabled:
node.setOutsideBuildArea(True)
continue
except IndexError:
except IndexError: # Happens when the extruder list is too short. We're not done building the printer in memory yet.
continue
except TypeError: # Happens when extruder_position is None. This object has no extruder decoration.
continue
node.setOutsideBuildArea(False)