Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2020-04-09 13:55:50 +0300
committerGhostkeeper <rubend@tutanota.com>2020-04-09 13:55:50 +0300
commit54b6c2a54e4d0f4362fb9e6c3cd6ce3ac43ed0ca (patch)
treed457801a1e4a9d4129a4ac91d9ffc675bcececff /cura/BuildVolume.py
parentc79d7d89b3d18f0aa5961d8d1f590d18aa8125fb (diff)
parent953630ad0b7018fbaa07cba100756448824c18dd (diff)
Merge branch '4.6'
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-xcura/BuildVolume.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py
index 38c05b01af..ed79f43bf5 100755
--- a/cura/BuildVolume.py
+++ b/cura/BuildVolume.py
@@ -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)