mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 06:29:02 +08:00
Fix documentation for getAllExtruderSettings
Didn't complete it previously. Oops. Contributes to issue CURA-2823.
This commit is contained in:
parent
8c25a91e02
commit
9a8a5db06e
@ -270,7 +270,10 @@ class ExtruderManager(QObject):
|
||||
def getAllExtruderValues(self, setting_key):
|
||||
return self.getAllExtruderSettings(setting_key, "value")
|
||||
|
||||
## Gets a
|
||||
## Gets a property of a setting for all extruders.
|
||||
#
|
||||
# \param setting_key The setting to get the property of.
|
||||
# \param property The property to get.
|
||||
def getAllExtruderSettings(self, setting_key, property):
|
||||
global_container_stack = UM.Application.getInstance().getGlobalContainerStack()
|
||||
if global_container_stack.getProperty("machine_extruder_count", "value") <= 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user