From afa44ed3145be03e68584686bedf73ccef246a81 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Thu, 1 Oct 2015 14:20:47 +0200 Subject: [PATCH] Tweak the initial camera position As requested by Menno --- cura/CuraApplication.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 6b3554d2a5..e64c8736d0 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -159,15 +159,16 @@ class CuraApplication(QtApplication): self._physics = PlatformPhysics.PlatformPhysics(controller, self._volume) camera = Camera("3d", root) - camera.setPosition(Vector(-150, 150, 300)) + camera.setPosition(Vector(0, 250, 900)) camera.setPerspective(True) camera.lookAt(Vector(0, 0, 0)) + controller.getScene().setActiveCamera("3d") + + self.getController().getTool("CameraTool").setOrigin(Vector(0, 100, 0)) self._camera_animation = CameraAnimation.CameraAnimation() self._camera_animation.setCameraTool(self.getController().getTool("CameraTool")) - controller.getScene().setActiveCamera("3d") - self.showSplashMessage(self._i18n_catalog.i18nc("@info:progress", "Loading interface...")) self.setMainQml(Resources.getPath(self.ResourceTypes.QmlFiles, "Cura.qml"))