Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4
import bpy bpy.context.camera.sensor_width = 36.70 bpy.context.camera.sensor_height = 25.54 bpy.context.camera.sensor_fit = 'HORIZONTAL'