Browse Source

Missing documentation

Contributes to issue CURA-6091.
Ghostkeeper 5 years ago
parent
commit
ede6efb799
1 changed files with 3 additions and 0 deletions
  1. 3 0
      cura/Settings/IntentManager.py

+ 3 - 0
cura/Settings/IntentManager.py

@@ -85,6 +85,8 @@ class IntentManager:
     #   the printer using any configuration. This will only list the intent
     #   categories that are available using the current configuration (but the
     #   union over the extruders).
+    #   \return List of all categories in the current configurations of all
+    #   extruders.
     def currentAvailableIntentCategories(self) -> List[str]:
         global_stack = CuraApplication.getInstance().getGlobalContainerStack()
         current_definition_id = global_stack.definition.getMetaDataEntry("id")
@@ -117,6 +119,7 @@ class IntentManager:
 
         application.getMachineManager().setQualityGroupByQualityType(quality_type)
 
+    ##  Selects the default intents on every extruder.
     def selectDefaultIntent(self) -> None:
         for extruder_stack in ExtruderManager.getInstance().getUsedExtruderStacks():
             extruder_stack.intent = self.defaultIntent()