Browse Source

Extend the zoomrange to cater for smaller and larger buildvolumes

fieldOfView 7 years ago
parent
commit
f23d969c23
1 changed files with 3 additions and 1 deletions
  1. 3 1
      cura/CuraApplication.py

+ 3 - 1
cura/CuraApplication.py

@@ -619,7 +619,9 @@ class CuraApplication(QtApplication):
         camera.lookAt(Vector(0, 0, 0))
         controller.getScene().setActiveCamera("3d")
 
-        self.getController().getTool("CameraTool").setOrigin(Vector(0, 100, 0))
+        camera_tool = self.getController().getTool("CameraTool")
+        camera_tool.setOrigin(Vector(0, 100, 0))
+        camera_tool.setZoomRange(0.1, 200000)
 
         self._camera_animation = CameraAnimation.CameraAnimation()
         self._camera_animation.setCameraTool(self.getController().getTool("CameraTool"))