forked from bartvdbraak/blender
ea08a4d36b
* 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
140 B
Python
5 lines
140 B
Python
import bpy
|
|
bpy.context.object.data.sensor_width = 32
|
|
bpy.context.object.data.sensor_height = 18
|
|
bpy.context.object.data.sensor_fit = 'AUTO'
|