forked from bartvdbraak/blender
Fix #30421: Panorama option in camera properties always disabled
Issue was caused by comparing camera's type with PERSPECTIVE instead of PERSP which is declared in RNA files. Patch by Susanne H., thanks!
This commit is contained in:
parent
63f5b96fe3
commit
c8636ca3dd
@ -88,7 +88,7 @@ class DATA_PT_lens(CameraButtonsPanel, Panel):
|
|||||||
col.prop(cam, "ortho_scale")
|
col.prop(cam, "ortho_scale")
|
||||||
|
|
||||||
col = layout.column()
|
col = layout.column()
|
||||||
col.enabled = cam.type == 'PERSPECTIVE'
|
col.enabled = cam.type == 'PERSP'
|
||||||
|
|
||||||
col.prop(cam, "use_panorama")
|
col.prop(cam, "use_panorama")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user