Welcome to mirror list, hosted at ThFree Co, Russian Federation.

2_colon_3_inch.py « camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 46436970efca3d78d26f1db63c6b83a40a8bdcad (plain)
1
2
3
4
import bpy
bpy.context.camera.sensor_width = 9.6
bpy.context.camera.sensor_height = 5.4
bpy.context.camera.sensor_fit = 'HORIZONTAL'