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
This commit is contained in:
Jaime van Kessel 2020-10-05 13:45:24 +02:00
parent 30966beed2
commit 5823140b21
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -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()