mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Extend the zoomrange to cater for smaller and larger buildvolumes
This commit is contained in:
parent
e187b96455
commit
f23d969c23
1 changed files with 3 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue