mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:26:05 +08:00
Still store disabled extruders as a set
They should be unique anyway. Contributes to issue CURA-5456.
This commit is contained in:
parent
54b990c0bd
commit
dec9d7cac6
@ -227,7 +227,7 @@ class StartSliceJob(Job):
|
|||||||
|
|
||||||
if has_model_with_disabled_extruders:
|
if has_model_with_disabled_extruders:
|
||||||
self.setResult(StartJobResult.ObjectsWithDisabledExtruder)
|
self.setResult(StartJobResult.ObjectsWithDisabledExtruder)
|
||||||
associated_disabled_extruders = [str(c) for c in sorted([int(p) + 1 for p in associated_disabled_extruders])]
|
associated_disabled_extruders = {str(c) for c in sorted([int(p) + 1 for p in associated_disabled_extruders])}
|
||||||
self.setMessage(", ".join(associated_disabled_extruders))
|
self.setMessage(", ".join(associated_disabled_extruders))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user