blender/release/scripts/presets/camera/Fullframe.py

5 lines
131 B
Python

import bpy
bpy.context.camera.sensor_width = 36
bpy.context.camera.sensor_height = 24
bpy.context.camera.sensor_fit = 'HORIZONTAL'