Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2020-10-05 14:45:24 +0300
committerJaime van Kessel <nallath@gmail.com>2020-10-05 14:45:24 +0300
commit5823140b213548996e608eb186d36829ce840ff1 (patch)
tree495754c6d19811b1d13ab7637a6e52c61662e0b8 /cura/MultiplyObjectsJob.py
parent30966beed206c0a4a3eade7690c9175489e53114 (diff)
Always add multiplied nodes to the root.
No idea why it was using the parent of the current node. It's technically the same, but this is much more explicit CURA-7440
Diffstat (limited to 'cura/MultiplyObjectsJob.py')
-rw-r--r--cura/MultiplyObjectsJob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/MultiplyObjectsJob.py b/cura/MultiplyObjectsJob.py
index 7507f2520e..533f631409 100644
--- a/cura/MultiplyObjectsJob.py
+++ b/cura/MultiplyObjectsJob.py
@@ -103,7 +103,7 @@ class MultiplyObjectsJob(Job):
if nodes:
operation = GroupedOperation()
for new_node in nodes:
- operation.addOperation(AddSceneNodeOperation(new_node, current_node.getParent()))
+ operation.addOperation(AddSceneNodeOperation(new_node, root))
operation.push()
status_message.hide()