Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cura
diff options
context:
space:
mode:
authorJoey de l'Arago <joeydelarago@gmail.com>2022-06-15 18:28:06 +0300
committerGitHub <noreply@github.com>2022-06-15 18:28:06 +0300
commitcaa0c255aae0288e2484b52869ffc30ac80bcb66 (patch)
treec96a457c49d6120daa4fe2081ecb6c90e9838870 /cura
parent8362d4c96765be9a6ba76c01a2e2e897006b45d2 (diff)
Update cura/Machines/Models/ActiveIntentQualitiesModel.py
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
Diffstat (limited to 'cura')
-rw-r--r--cura/Machines/Models/ActiveIntentQualitiesModel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/Machines/Models/ActiveIntentQualitiesModel.py b/cura/Machines/Models/ActiveIntentQualitiesModel.py
index ab59ada7c9..bd2f5cf771 100644
--- a/cura/Machines/Models/ActiveIntentQualitiesModel.py
+++ b/cura/Machines/Models/ActiveIntentQualitiesModel.py
@@ -101,7 +101,7 @@ class ActiveIntentQualitiesModel(ListModel):
return nodes
def _getIntentsForMaterial(self, active_material_node: "MaterialNode", quality_groups: Dict[str, "QualityGroup"]) -> List[Dict[str, Any]]:
- extruder_intents = [] # type: List[Dict[str, Any]]
+ extruder_intents: List[Dict[str, Any]] = []
for quality_id, quality_node in active_material_node.qualities.items():
if quality_node.quality_type not in quality_groups: # Don't add the empty quality type (or anything else that would crash, defensively).