Browse Source

#8820 -Fixed exporter using the focal length of the camera, instead of the FOV-angle (#9328)

Benjamin Cid Pérez 9 years ago
parent
commit
3d66d1e93a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/exporters/blender/addons/io_three/exporter/api/camera.py

+ 1 - 1
utils/exporters/blender/addons/io_three/exporter/api/camera.py

@@ -74,7 +74,7 @@ def fov(camera):
 
 
     """
     """
     logger.debug("camera.fov(%s)", camera)
     logger.debug("camera.fov(%s)", camera)
-    return camera.lens
+    return camera.angle
 
 
 
 
 @_camera
 @_camera