mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix setting extruder definition in user changes container
This commit is contained in:
parent
0d0bcb8aea
commit
8082c092e5
3 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ class CuraStackBuilder:
|
||||||
user_container.addMetaDataEntry("extruder", new_stack_id)
|
user_container.addMetaDataEntry("extruder", new_stack_id)
|
||||||
from cura.CuraApplication import CuraApplication
|
from cura.CuraApplication import CuraApplication
|
||||||
user_container.addMetaDataEntry("setting_version", CuraApplication.SettingVersion)
|
user_container.addMetaDataEntry("setting_version", CuraApplication.SettingVersion)
|
||||||
user_container.setDefinition(machine_definition)
|
user_container.setDefinition(definition)
|
||||||
|
|
||||||
stack.setUserChanges(user_container)
|
stack.setUserChanges(user_container)
|
||||||
|
|
||||||
|
|
|
@ -772,7 +772,6 @@ class MachineManager(QObject):
|
||||||
quality_manager.getWholeMachineDefinition(material_container.getDefinition()),
|
quality_manager.getWholeMachineDefinition(material_container.getDefinition()),
|
||||||
[material_container])
|
[material_container])
|
||||||
|
|
||||||
|
|
||||||
if not candidate_quality or isinstance(candidate_quality, type(self._empty_quality_changes_container)):
|
if not candidate_quality or isinstance(candidate_quality, type(self._empty_quality_changes_container)):
|
||||||
Logger.log("d", "Attempting to find fallback quality")
|
Logger.log("d", "Attempting to find fallback quality")
|
||||||
# Fall back to a quality (which must be compatible with all other extruders)
|
# Fall back to a quality (which must be compatible with all other extruders)
|
||||||
|
|
|
@ -768,6 +768,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
||||||
self._container_registry.removeContainer(container.getId())
|
self._container_registry.removeContainer(container.getId())
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
# Check quality profiles to make sure that if one stack has the "not supported" quality profile,
|
# Check quality profiles to make sure that if one stack has the "not supported" quality profile,
|
||||||
# all others should have the same.
|
# all others should have the same.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue