CURA-4606 in all quality profiles, rename all the specific 1.75mm materials back to the generic material

This commit is contained in:
Jack Ha 2018-02-21 14:16:26 +01:00
parent b3ef4a05d5
commit 631b72c007
139 changed files with 142 additions and 139 deletions

View file

@ -129,7 +129,10 @@ class CuraStackBuilder:
new_global_stack.quality = quality_group.node_for_global.getContainer()
for position, extruder_stack in new_global_stack.extruders.items():
extruder_stack.quality = quality_group.nodes_for_extruders[position].getContainer()
if position in quality_group.nodes_for_extruders:
extruder_stack.quality = quality_group.nodes_for_extruders[position].getContainer()
else:
extruder_stack.quality = application.empty_quality_container
# Register the global stack after the extruder stacks are created. This prevents the registry from adding another
# extruder stack because the global stack didn't have one yet (which is enforced since Cura 3.1).