forked from bartvdbraak/blender
df34df50f7
- Fixed typo in Canon C300 camera name - Added preset for Nexus5
6 lines
185 B
Python
6 lines
185 B
Python
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'
|