Browse Source

Fix crash when loading multi-extrusion print

Because getProperty needs a property to get.
Ghostkeeper 5 years ago
parent
commit
ea93490c45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/BuildVolume.py

+ 1 - 1
cura/BuildVolume.py

@@ -791,7 +791,7 @@ class BuildVolume(SceneNode):
             result[extruder.getId()] = []
 
         # Currently, the only normally printed object is the prime tower.
-        if self._global_container_stack.getProperty("prime_tower_enable"):
+        if self._global_container_stack.getProperty("prime_tower_enable", "value"):
             prime_tower_size = self._global_container_stack.getProperty("prime_tower_size", "value")
             machine_width = self._global_container_stack.getProperty("machine_width", "value")
             machine_depth = self._global_container_stack.getProperty("machine_depth", "value")