mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-24 22:04:26 +08:00
Fixed stupid mistake that made all snapshots be taken from the back of model
This commit is contained in:
parent
7b3598e992
commit
8dd2243399
@ -66,7 +66,7 @@ class Snapshot:
|
||||
size = max(bbox.width, bbox.height, bbox.depth * 0.5)
|
||||
|
||||
# Looking from this direction (x, y, z) in OGL coordinates
|
||||
looking_from_offset = Vector(1, 1, -2)
|
||||
looking_from_offset = Vector(-1, 1, 2)
|
||||
if size > 0:
|
||||
# determine the watch distance depending on the size
|
||||
looking_from_offset = looking_from_offset * size * 1.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user