* Rename "FOV Mode" to "Sensor Fit" * Add sensor height back in presets, default to Horizontal fit for all presets except Blender, which uses Automatic. * Some UI tweaks
5 lines
150 B
Python
5 lines
150 B
Python
import bpy
|
|
bpy.context.object.data.sensor_width = 11.1
|
|
bpy.context.object.data.sensor_height = 6.24
|
|
bpy.context.object.data.sensor_fit = 'HORIZONTAL'
|