mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Document why we're only returning full profiles
It's a limitation of the quality manager that would require major refactoring there to fix. Contributes to issue CURA-4243.
This commit is contained in:
parent
430f3dad27
commit
097cc72d89
3 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ class ProfilesModel(InstanceContainersModel):
|
|||
not_supported_container = ContainerRegistry.getInstance().findContainers(id = "empty_quality")[0]
|
||||
result.append(not_supported_container)
|
||||
|
||||
return {item.getId():item for item in result}, {}
|
||||
return {item.getId():item for item in result}, {} #Only return true profiles for now, no metadata. The quality manager is not able to get only metadata yet.
|
||||
|
||||
## Re-computes the items in this model, and adds the layer height role.
|
||||
def _recomputeItems(self):
|
||||
|
|
|
@ -43,4 +43,4 @@ class QualityAndUserProfilesModel(ProfilesModel):
|
|||
|
||||
result = filtered_quality_changes
|
||||
result.update({q.getId():q for q in quality_list})
|
||||
return result, {}
|
||||
return result, {} #Only return true profiles for now, no metadata. The quality manager is not able to get only metadata yet.
|
|
@ -52,7 +52,7 @@ class UserProfilesModel(ProfilesModel):
|
|||
(qc.getMetaDataEntry("extruder") == active_extruder.definition.getMetaDataEntry("quality_definition") or
|
||||
qc.getMetaDataEntry("extruder") == active_extruder.definition.getId())}
|
||||
|
||||
return filtered_quality_changes, {}
|
||||
return filtered_quality_changes, {} #Only return true profiles for now, no metadata. The quality manager is not able to get only metadata yet.
|
||||
|
||||
## Called when a container changed on an extruder stack.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue