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: aa781782acb4a1df0ed24afa862ddd05b06cd67a (plain)
1
2
3
4
5
import bpy
bpy.context.object.data.sensor_width = 4.5
bpy.context.object.data.sensor_height = 3.37
bpy.context.object.data.lens = 3.91
bpy.context.object.data.sensor_fit = 'HORIZONTAL'