Skip to content

Commit 3d66d1e

Browse files
BenCidPerezmrdoob
authored andcommitted
mrdoob#8820 -Fixed exporter using the focal length of the camera, instead of the FOV-angle (mrdoob#9328)
1 parent 0c3ede3 commit 3d66d1e

File tree

1 file changed

+1
-1
lines changed
  • utils/exporters/blender/addons/io_three/exporter/api

1 file changed

+1
-1
lines changed

utils/exporters/blender/addons/io_three/exporter/api/camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def fov(camera):
7474
7575
"""
7676
logger.debug("camera.fov(%s)", camera)
77-
return camera.lens
77+
return camera.angle
7878

7979

8080
@_camera

0 commit comments

Comments
 (0)