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

1_slash_2.7_inch.py « camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5ccfa4ab5558b57f189f450b84300a6d7befcd0c (plain)
1
2
3
4
import bpy
bpy.context.camera.sensor_width = 5.37
bpy.context.camera.sensor_height = 4.04
bpy.context.camera.sensor_fit = 'HORIZONTAL'