mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06: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
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue