mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:09:02 +08:00
Update more things to the changed SceneNode API
This commit is contained in:
parent
a162fd0f67
commit
6353eedba7
@ -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…
x
Reference in New Issue
Block a user