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:
Ghostkeeper 2017-12-11 09:44:56 +01:00
parent 430f3dad27
commit 097cc72d89
No known key found for this signature in database
GPG Key ID: 5252B696FB5E7C7A
3 changed files with 3 additions and 3 deletions

View File

@ -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):

View File

@ -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.

View File

@ -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.
#