mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 00:55:59 +08:00
remove debug statement
CURA-9755
This commit is contained in:
parent
277d48bd51
commit
7880cb5bde
@ -188,11 +188,10 @@ class ThreeMFReader(MeshReader):
|
|||||||
child_node = um_node.getChildren()[0]
|
child_node = um_node.getChildren()[0]
|
||||||
# Move all the meshes of children so that toolhandles are shown in the correct place.
|
# Move all the meshes of children so that toolhandles are shown in the correct place.
|
||||||
if child_node.getMeshData():
|
if child_node.getMeshData():
|
||||||
print("child name: ", child_node.getId())
|
|
||||||
extents = child_node.getMeshData().getExtents()
|
extents = child_node.getMeshData().getExtents()
|
||||||
m = Matrix()
|
move_matrix = Matrix()
|
||||||
m.translate(-extents.center)
|
move_matrix.translate(-extents.center)
|
||||||
child_node.setMeshData(child_node.getMeshData().getTransformed(m))
|
child_node.setMeshData(child_node.getMeshData().getTransformed(move_matrix))
|
||||||
child_node.translate(extents.center)
|
child_node.translate(extents.center)
|
||||||
parent_transformation = um_node.getLocalTransformation()
|
parent_transformation = um_node.getLocalTransformation()
|
||||||
child_transformation = child_node.getLocalTransformation()
|
child_transformation = child_node.getLocalTransformation()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user