mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Added some comments to the code and minor changes - CURA-4386 CURA-4379
This commit is contained in:
parent
f0e89b7e01
commit
1d61740d1a
2 changed files with 15 additions and 7 deletions
|
@ -545,6 +545,10 @@ class MachineManager(QObject):
|
|||
|
||||
return result
|
||||
|
||||
## Gets a dict with the active materials ids set in all extruder stacks and the global stack
|
||||
# (when there is one extruder, the material is set in the global stack)
|
||||
#
|
||||
# \return The material ids in all stacks
|
||||
@pyqtProperty("QVariantMap", notify = activeMaterialChanged)
|
||||
def allActiveMaterialIds(self) -> Dict[str, str]:
|
||||
result = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue