Cura/cura/Machines
Ghostkeeper 649ca99fe0
Only match on printer-specific materials, not variant-specific too
If a submaterial doesn't exist for the current variant node but it does exist for a different variant node, then it would not be found in the variant-specific materials and then would be looked up in the printer-specific materials. It then depends on the order in which findInstanceContainersMetadata returns things for whether the actual printer-specific material is selected or a different variant-specific material is selected. No longer now, because the variant name is specified to be absent so it may not match on variant-specific profiles any more.
Maybe this even gives us a small performance gain when combining these dictionaries, since there are now like 80% fewer profiles in that query.

Contributes to issue CURA-6831.
2019-10-02 08:55:13 +02:00
..
Models Always clear ListModel so layer height selector will align properly 2019-10-01 16:15:36 +02:00
__init__.py WIP: Create VariantManager 2018-02-16 14:20:02 +01:00
ContainerNode.py Don't unnecessarily deprecate the getMetaDataEntry functionality 2019-08-23 13:43:30 +02:00
ContainerTree.py Add debugging functionality to visualise the container tree 2019-10-02 08:55:12 +02:00
IntentNode.py Merge branch 'feature_intent_container_tree' of github.com:Ultimaker/Cura into feature_intent_interface 2019-08-29 16:28:26 +02:00
MachineErrorChecker.py Remove use of deprecated extruders property 2019-09-13 17:27:16 +02:00
MachineNode.py Remove has_machine_materials metadata 2019-10-02 08:55:04 +02:00
MaterialGroup.py Added typing for various setting classes 2018-09-10 15:24:11 +02:00
MaterialManager.py Don't use material manager to find or remove materials 2019-09-20 09:57:36 +02:00
MaterialNode.py Get diameter from material container 2019-10-01 15:05:35 +02:00
QualityChangesGroup.py Fix unit test due to QualityGroup parent changes 2019-10-01 11:26:10 +02:00
QualityGroup.py Fix unit test due to QualityGroup parent changes 2019-10-01 11:26:10 +02:00
QualityManager.py Fix missing import 2019-10-01 11:41:17 +02:00
QualityNode.py Fix documentation of quality node class 2019-09-27 15:31:58 +02:00
VariantManager.py Remove old buildplate function 2019-08-27 15:06:27 +02:00
VariantNode.py Only match on printer-specific materials, not variant-specific too 2019-10-02 08:55:13 +02:00
VariantType.py Move VariantType to VariantType.py 2018-08-02 16:11:55 +02:00