Camera presets changes

- Fixed typo in Canon C300 camera name
- Added preset for Nexus5
This commit is contained in:
Sergey Sharybin 2014-02-19 18:09:50 +06:00
parent 32ba1ce1c1
commit df34df50f7
4 changed files with 16 additions and 0 deletions

@ -0,0 +1,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'

@ -0,0 +1,11 @@
import bpy
camera = bpy.context.edit_movieclip.tracking.camera
camera.sensor_width = 4.5
camera.units = 'MILLIMETERS'
camera.focal_length = 3.91
camera.pixel_aspect = 1
camera.k1 = 0.0
camera.k2 = 0.0
camera.k3 = 0.0