mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Update more things to the changed SceneNode API
This commit is contained in:
parent
a162fd0f67
commit
6353eedba7
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class PrinterApplication(QtApplication):
|
||||||
self.getController().setActiveTool('TranslateTool')
|
self.getController().setActiveTool('TranslateTool')
|
||||||
|
|
||||||
self._camera_animation.setStart(self.getController().getTool('CameraTool').getOrigin())
|
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()
|
self._camera_animation.start()
|
||||||
else:
|
else:
|
||||||
if self.getController().getActiveTool():
|
if self.getController().getActiveTool():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue