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

iPhone_5.py « camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2764788a405165d53f8b5a136150542264051f67 (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.10
bpy.context.object.data.sensor_fit = 'HORIZONTAL'