mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 09:05:53 +08: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
@ -871,7 +871,7 @@ class BuildVolume(SceneNode):
|
||||
else:
|
||||
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
|
||||
else:
|
||||
extruder_stack_id = ExtruderManager.getInstance().extruderIds[str(extruder_index)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user