mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Fix documentation
CURA-2248
This commit is contained in:
parent
ab23637f3b
commit
2aa3e1e931
1 changed files with 2 additions and 2 deletions
|
@ -150,11 +150,11 @@ class QualityManager:
|
||||||
|
|
||||||
return [quality_type_dict[quality_type] for quality_type in quality_types]
|
return [quality_type_dict[quality_type] for quality_type in quality_types]
|
||||||
|
|
||||||
## Fetch a more basic version of a material.
|
## Fetch more basic versions of a material.
|
||||||
#
|
#
|
||||||
# This tries to find a generic or basic version of the given material.
|
# This tries to find a generic or basic version of the given material.
|
||||||
# \param material_container \type{InstanceContainer} the material
|
# \param material_container \type{InstanceContainer} the material
|
||||||
# \return \type{List[InstanceContainer]} the basic material or None if one could not be found.
|
# \return \type{List[InstanceContainer]} a list of the basic materials or an empty list if one could not be found.
|
||||||
def _getBasicMaterials(self, material_container):
|
def _getBasicMaterials(self, material_container):
|
||||||
base_material = material_container.getMetaDataEntry("material")
|
base_material = material_container.getMetaDataEntry("material")
|
||||||
if material_container.getDefinition().getMetaDataEntry("has_machine_quality"):
|
if material_container.getDefinition().getMetaDataEntry("has_machine_quality"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue