mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Apply transformation again
CURA-382
This commit is contained in:
parent
47870f43ef
commit
8ac7558677
1 changed files with 6 additions and 0 deletions
|
@ -157,4 +157,10 @@ class ThreeMFReader(MeshReader):
|
||||||
except:
|
except:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
global_container_stack = UM.Application.getInstance().getGlobalContainerStack()
|
||||||
|
|
||||||
|
if global_container_stack:
|
||||||
|
translation = Vector(x=-global_container_stack.getProperty("machine_width", "value") / 2, y=0,
|
||||||
|
z=global_container_stack.getProperty("machine_depth", "value") / 2)
|
||||||
|
result.translate(translation, SceneNode.TransformSpace.World)
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue