[Bf-blender-cvs] [a7ba8b6] : Fix for missing 'field-of-view angle' property for a panoramic camera.

Tamito Kajiyama noreply at git.blender.org
Wed Mar 12 18:16:04 CET 2014


Commit: a7ba8b62560c7c1df1934b7fc1c5b8adbb6045b4
Author: Tamito Kajiyama
Date:   Mon Mar 10 19:42:10 2014 +0900
https://developer.blender.org/rBa7ba8b62560c7c1df1934b7fc1c5b8adbb6045b4

Fix for missing 'field-of-view angle' property for a panoramic camera.

===================================================================

M	release/scripts/startup/bl_ui/properties_data_camera.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_data_camera.py b/release/scripts/startup/bl_ui/properties_data_camera.py
index 38f0463..0600c87 100644
--- a/release/scripts/startup/bl_ui/properties_data_camera.py
+++ b/release/scripts/startup/bl_ui/properties_data_camera.py
@@ -102,7 +102,7 @@ class DATA_PT_lens(CameraButtonsPanel, Panel):
                 row = col.row()
                 if cam.lens_unit == 'MILLIMETERS':
                     row.prop(cam, "lens")
-                elif cam.lens_unit == 'DEGREES':
+                elif cam.lens_unit == 'FOV':
                     row.prop(cam, "angle")
                 row.prop(cam, "lens_unit", text="")




More information about the Bf-blender-cvs mailing list