* 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 = 17.3
|
|
bpy.context.object.data.sensor_height = 13.0
|
|
bpy.context.object.data.sensor_fit = 'HORIZONTAL'
|