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

Nexus_5.py « camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 36e741cbba558116e8e88d6cd24d8ed4dc6c80dd (plain)
1
2
3
4
5
import bpy
bpy.context.camera.sensor_width = 4.5
bpy.context.camera.sensor_height = 3.37
bpy.context.camera.lens = 3.91
bpy.context.camera.sensor_fit = 'HORIZONTAL'