Added some comments to the code and minor changes - CURA-4386 CURA-4379

This commit is contained in:
Diego Prado Gesto 2017-09-29 11:39:52 +02:00
parent f0e89b7e01
commit 1d61740d1a
2 changed files with 15 additions and 7 deletions

View file

@ -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 = {}