Fixed stupid mistake that made all snapshots be taken from the back of model

This commit is contained in:
Jaime van Kessel 2018-03-14 11:32:36 +01:00
parent 7b3598e992
commit 8dd2243399

View file

@ -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