Files
test2/release/scripts/presets/camera/Red_One_2K.py
Brecht Van Lommel ea08a4d36b Tomato: camera sensor changes
* 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
2011-11-01 18:39:07 +00:00

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'