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

GoPro_Hero3_Black.py « camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e294f802a02d00f82c7c400d7c02fd71ca3c1428 (plain)
1
2
3
4
5
6
import bpy
bpy.context.camera.sensor_width = 6.16
bpy.context.camera.sensor_height = 4.62
bpy.context.camera.lens = 2.77

bpy.context.camera.sensor_fit = 'AUTO'