Fix: in 3.0 version we did not save quality type under extruder.cfg in project

for custom fdm pritners. For this case during deserializing share quality stack
between global and extruder's stacks
CURA-4966
This commit is contained in:
Aleksei S 2018-02-16 09:12:42 +01:00
parent 17943ceb70
commit 86b31c3a6c

View file

@ -775,6 +775,9 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
# Ensure a unique ID and name
stack.setMetaDataEntry("id", new_id)
# Keep same quality between extruders and global stack
stack.quality = global_stack.quality
self._container_registry.addContainer(stack)
extruder_stacks_added.append(stack)
containers_added.append(stack)