Update more things to the changed SceneNode API

This commit is contained in:
Arjen Hiemstra 2015-04-08 17:22:30 +02:00
parent c53bed8450
commit 115c2b006e
2 changed files with 2 additions and 2 deletions

View file

@ -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]