mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 00:37:50 -06:00
Fix for creating profiles via the Create button.
Contributes to CURA-2414 Quality changes profiles are created incorrectly
This commit is contained in:
parent
9499acf0d5
commit
8cbe410e34
1 changed files with 4 additions and 1 deletions
|
@ -469,7 +469,10 @@ class ContainerManager(QObject):
|
||||||
UM.Logger.log("w", "No quality or quality changes container found in stack %s, ignoring it", stack.getId())
|
UM.Logger.log("w", "No quality or quality changes container found in stack %s, ignoring it", stack.getId())
|
||||||
continue
|
continue
|
||||||
|
|
||||||
new_changes = self._createQualityChanges(quality_container, unique_name, stack.getId(), UM.Application.getInstance().getGlobalContainerStack())
|
extruder_id = None if stack is global_stack else stack.getBottom().getId()
|
||||||
|
new_changes = self._createQualityChanges(quality_container, unique_name,
|
||||||
|
UM.Application.getInstance().getGlobalContainerStack().getBottom(),
|
||||||
|
extruder_id)
|
||||||
self._performMerge(new_changes, user_container)
|
self._performMerge(new_changes, user_container)
|
||||||
|
|
||||||
self._container_registry.addContainer(new_changes)
|
self._container_registry.addContainer(new_changes)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue