mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 19:59:11 +08:00
Only listen for other container stack errors if multi-extrusion
It's not even necessary to check otherwise. Requesting an extruder stack would give None anyway, which would give errors. Contributes to issue CURA-3291.
This commit is contained in:
parent
a0ba1188a1
commit
3ac9036b4a
@ -303,7 +303,7 @@ class MachineManager(QObject):
|
|||||||
if property_name == "validationState":
|
if property_name == "validationState":
|
||||||
if not self._stacks_have_errors:
|
if not self._stacks_have_errors:
|
||||||
# fast update, we only have to look at the current changed property
|
# fast update, we only have to look at the current changed property
|
||||||
if self._active_container_stack.getProperty(key, "settable_per_extruder"):
|
if self._global_container_stack.getProperty("machine_extruder_count", "value") > 1 and self._active_container_stack.getProperty(key, "settable_per_extruder"):
|
||||||
extruder_index = int(self._active_container_stack.getProperty(key, "limit_to_extruder"))
|
extruder_index = int(self._active_container_stack.getProperty(key, "limit_to_extruder"))
|
||||||
if extruder_index >= 0: #We have to look up the value from a different extruder.
|
if extruder_index >= 0: #We have to look up the value from a different extruder.
|
||||||
stack = ExtruderManager.getInstance().getExtruderStack(str(extruder_index))
|
stack = ExtruderManager.getInstance().getExtruderStack(str(extruder_index))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user