mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Filter \n from transformation string
CURA-3858
This commit is contained in:
parent
1682348629
commit
d69736ac34
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class SliceInfo(Extension):
|
|||
"maximum": {"x": bounding_box.maximum.x,
|
||||
"y": bounding_box.maximum.y,
|
||||
"z": bounding_box.maximum.z}}
|
||||
model["transformation"] = {"data": str(node.getWorldTransformation().getData())}
|
||||
model["transformation"] = {"data": str(node.getWorldTransformation().getData()).replace("\n", "")}
|
||||
extruder_position = node.callDecoration("getActiveExtruderPosition")
|
||||
model["extruder"] = 0 if extruder_position is None else extruder_position
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue