Document filtering nozzles by extruder better

Contributes to issues CURA-1278 and CURA-351.
This commit is contained in:
Ghostkeeper 2016-06-01 15:12:20 +02:00
parent 91fc90a423
commit 0e108f0c04
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -17,7 +17,7 @@ class Extruder:
container_registry = UM.Settings.ContainerRegistry.getInstance()
#Find the nozzles that fit on this extruder.
self._nozzles = container_registry.findInstanceContainers(type = "nozzle", definitions = "*," + definition.getId() + ",*")
self._nozzles = container_registry.findInstanceContainers(type = "nozzle", definitions = "*," + definition.getId() + ",*") #Extruder needs to be delimited by either a comma or the end of string.
self._nozzles += container_registry.findInstanceContainers(type = "nozzle", definitions = "*," + definition.getId())
self._nozzles += container_registry.findInstanceContainers(type = "nozzle", definitions = definition.getId() + ",*")
self._nozzles += container_registry.findInstanceContainers(type = "nozzle", definitions = definition.getId())