mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Build volume no longer gives issue if -1 is provided as an int
CURA-3814
This commit is contained in:
parent
a13ec0072f
commit
4d853d5d52
1 changed files with 1 additions and 1 deletions
|
@ -871,7 +871,7 @@ class BuildVolume(SceneNode):
|
||||||
else:
|
else:
|
||||||
extruder_index = self._global_container_stack.getProperty(extruder_setting_key, "value")
|
extruder_index = self._global_container_stack.getProperty(extruder_setting_key, "value")
|
||||||
|
|
||||||
if extruder_index == "-1": # If extruder index is -1 use global instead
|
if str(extruder_index) == "-1": # If extruder index is -1 use global instead
|
||||||
stack = self._global_container_stack
|
stack = self._global_container_stack
|
||||||
else:
|
else:
|
||||||
extruder_stack_id = ExtruderManager.getInstance().extruderIds[str(extruder_index)]
|
extruder_stack_id = ExtruderManager.getInstance().extruderIds[str(extruder_index)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue