mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-03 15:51:12 -07:00
parent
a85347134e
commit
45aef7903b
1 changed files with 3 additions and 1 deletions
|
|
@ -264,8 +264,10 @@ class CuraApplication(QtApplication):
|
||||||
for i in range(count):
|
for i in range(count):
|
||||||
new_node = SceneNode()
|
new_node = SceneNode()
|
||||||
new_node.setMeshData(node.getMeshData())
|
new_node.setMeshData(node.getMeshData())
|
||||||
new_node.setScale(node.getScale())
|
|
||||||
new_node.translate(Vector((i + 1) * node.getBoundingBox().width, 0, 0))
|
new_node.translate(Vector((i + 1) * node.getBoundingBox().width, 0, 0))
|
||||||
|
new_node.setOrientation(node.getOrientation())
|
||||||
|
new_node.setScale(node.getScale())
|
||||||
new_node.setSelectable(True)
|
new_node.setSelectable(True)
|
||||||
op.addOperation(AddSceneNodeOperation(new_node, node.getParent()))
|
op.addOperation(AddSceneNodeOperation(new_node, node.getParent()))
|
||||||
op.push()
|
op.push()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue