Update more things to the changed SceneNode API

This commit is contained in:
Arjen Hiemstra 2015-04-08 17:22:30 +02:00
parent a162fd0f67
commit 6353eedba7

View file

@ -129,7 +129,7 @@ class PrinterApplication(QtApplication):
self.getController().setActiveTool('TranslateTool')
self._camera_animation.setStart(self.getController().getTool('CameraTool').getOrigin())
self._camera_animation.setTarget(Selection.getSelectedObject(0).getGlobalPosition())
self._camera_animation.setTarget(Selection.getSelectedObject(0).getWorldPosition())
self._camera_animation.start()
else:
if self.getController().getActiveTool():