mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Add function to find preferred quality profile
Not for global yet, so it doesn't appear as if anything is loaded yet. Contributes to issue CURA-6600.
This commit is contained in:
parent
557c3d9515
commit
fcab800a8d
3 changed files with 33 additions and 4 deletions
|
|
@ -20,6 +20,10 @@ class QualityNode(ContainerNode):
|
|||
super().__init__(container_id)
|
||||
self.parent = parent
|
||||
self.intents = {} # type: Dict[str, IntentNode]
|
||||
|
||||
my_metadata = ContainerRegistry.getInstance().findContainersMetadata(id = container_id)[0]
|
||||
self.quality_type = my_metadata["quality_type"]
|
||||
|
||||
self._loadAll()
|
||||
|
||||
def _loadAll(self) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue