mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Comment out unneeded materials fetching
This commit is contained in:
parent
6ac8163589
commit
dfe0212a41
1 changed files with 5 additions and 2 deletions
|
|
@ -302,10 +302,13 @@ class CuraContainerRegistry(ContainerRegistry):
|
||||||
|
|
||||||
machine_definition = Application.getInstance().getGlobalContainerStack().getBottom()
|
machine_definition = Application.getInstance().getGlobalContainerStack().getBottom()
|
||||||
del quality_type_criteria["definition"]
|
del quality_type_criteria["definition"]
|
||||||
materials = None
|
|
||||||
|
# materials = None
|
||||||
|
|
||||||
if "material" in quality_type_criteria:
|
if "material" in quality_type_criteria:
|
||||||
materials = ContainerRegistry.getInstance().findInstanceContainers(id = quality_type_criteria["material"])
|
# materials = ContainerRegistry.getInstance().findInstanceContainers(id = quality_type_criteria["material"])
|
||||||
del quality_type_criteria["material"]
|
del quality_type_criteria["material"]
|
||||||
|
|
||||||
# Do not filter quality containers here with materials because we are trying to import a profile, so it should
|
# Do not filter quality containers here with materials because we are trying to import a profile, so it should
|
||||||
# NOT be restricted by the active materials on the current machine.
|
# NOT be restricted by the active materials on the current machine.
|
||||||
materials = None
|
materials = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue