mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Update more things to the changed SceneNode API
This commit is contained in:
parent
c53bed8450
commit
115c2b006e
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ class ProcessSlicedObjectListJob(Job):
|
|||
points[:,2] -= self._center.z
|
||||
|
||||
points = numpy.pad(points, ((0,0), (0,1)), 'constant', constant_values=(0.0, 1.0))
|
||||
inverse = node.getGlobalTransformation().getInverse().getData()
|
||||
inverse = node.getWorldTransformation().getInverse().getData()
|
||||
points = points.dot(inverse)
|
||||
points = points[:,0:3]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue