mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 04:11:07 -07:00
parent
98ee8cab85
commit
ade65870c6
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ class CuraApplication(QtApplication):
|
||||||
# Reset the position of each node
|
# Reset the position of each node
|
||||||
for node in group_node.getChildren():
|
for node in group_node.getChildren():
|
||||||
new_position = node.getMeshData().getCenterPosition()
|
new_position = node.getMeshData().getCenterPosition()
|
||||||
#new_position.setY(0)
|
new_position = new_position.scale(node.getScale())
|
||||||
node.setPosition(new_position)
|
node.setPosition(new_position)
|
||||||
|
|
||||||
# Use the previously found center of the group bounding box as the new location of the group
|
# Use the previously found center of the group bounding box as the new location of the group
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue