mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:39:03 +08:00
parent
98ee8cab85
commit
ade65870c6
@ -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…
x
Reference in New Issue
Block a user