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