blender/release/scripts/presets/tracking_camera/Nexus_5.py
Sergey Sharybin df34df50f7 Camera presets changes
- Fixed typo in Canon C300 camera name
- Added preset for Nexus5
2014-02-19 18:10:51 +06:00

12 lines
219 B
Python

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