mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Remove hardcoded set perspective function
CURA-5395
This commit is contained in:
parent
0dc49a66f1
commit
2f5dfb8e65
1 changed files with 0 additions and 1 deletions
|
|
@ -838,7 +838,6 @@ class CuraApplication(QtApplication):
|
||||||
if diagonal < 1: #No printer added yet. Set a default camera distance for normal-sized printers.
|
if diagonal < 1: #No printer added yet. Set a default camera distance for normal-sized printers.
|
||||||
diagonal = 375
|
diagonal = 375
|
||||||
camera.setPosition(Vector(-80, 250, 700) * diagonal / 375)
|
camera.setPosition(Vector(-80, 250, 700) * diagonal / 375)
|
||||||
camera.setPerspective(True)
|
|
||||||
camera.lookAt(Vector(0, 0, 0))
|
camera.lookAt(Vector(0, 0, 0))
|
||||||
controller.getScene().setActiveCamera("3d")
|
controller.getScene().setActiveCamera("3d")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue