mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 18:36:05 +08:00
Comment out unneeded materials fetching
This commit is contained in:
parent
6ac8163589
commit
dfe0212a41
@ -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…
x
Reference in New Issue
Block a user