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

iPhone_4S.py « camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ea747f339d4a34863c834f2531d33fcea000817f (plain)
1
2
3
4
5
import bpy
bpy.context.object.data.sensor_width = 4.54
bpy.context.object.data.sensor_height = 3.42
bpy.context.object.data.lens = 4.28
bpy.context.object.data.sensor_fit = 'HORIZONTAL'