mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 21:31:15 -07:00
Merge branch 'refactoring_machine_manager' of github.com:Ultimaker/Cura into refactoring_machine_manager
This commit is contained in:
commit
85f3b7dcee
1 changed files with 2 additions and 1 deletions
|
|
@ -437,10 +437,11 @@ class ContainerManager(QObject):
|
||||||
global_stack, extruder_id = None)
|
global_stack, extruder_id = None)
|
||||||
self._container_registry.addContainer(new_quality_changes)
|
self._container_registry.addContainer(new_quality_changes)
|
||||||
else:
|
else:
|
||||||
|
new_name = self._container_registry.uniqueName(quality_changes_name)
|
||||||
for node in quality_changes_group.getAllNodes():
|
for node in quality_changes_group.getAllNodes():
|
||||||
container = node.getContainer()
|
container = node.getContainer()
|
||||||
new_id = self._container_registry.uniqueName(container.getId())
|
new_id = self._container_registry.uniqueName(container.getId())
|
||||||
self._container_registry.addContainer(container.duplicate(new_id, quality_changes_name))
|
self._container_registry.addContainer(container.duplicate(new_id, new_name))
|
||||||
|
|
||||||
@pyqtSlot("QVariant")
|
@pyqtSlot("QVariant")
|
||||||
def removeMaterial(self, material_node):
|
def removeMaterial(self, material_node):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue