Fix for missing 'field-of-view angle' property for a panoramic camera.
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Mon, 10 Mar 2014 10:42:10 +0000 (19:42 +0900)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Tue, 11 Mar 2014 15:08:28 +0000 (00:08 +0900)
release/scripts/startup/bl_ui/properties_data_camera.py

index 38f04639edd4eb712f0c3b7cfcb5e8b26574746a..0600c87244bf5b06517250d910f8cf798dc6c2d9 100644 (file)
@@ -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="")