mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-06-26 01:15:28 -06:00
removing magic number Adding max render distance
CURA-11650
This commit is contained in:
parent
c4881641c3
commit
64bb69c48f
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ class Snapshot:
|
|||
camera_width / 2,
|
||||
-camera_height / 2,
|
||||
camera_height / 2,
|
||||
-10000,
|
||||
10000
|
||||
-Snapshot.MAX_RENDER_DISTANCE,
|
||||
Snapshot.MAX_RENDER_DISTANCE
|
||||
)
|
||||
camera.setPerspective(False)
|
||||
camera.setProjectionMatrix(ortho_matrix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue