forked from bartvdbraak/blender
4ab1dadf72
Sensor height isn't supported by motion tracking yet.
11 lines
219 B
Python
11 lines
219 B
Python
import bpy
|
|
camera = bpy.context.edit_movieclip.tracking.camera
|
|
|
|
camera.sensor_width = 23.4
|
|
camera.units = 'MILLIMETERS'
|
|
camera.focal_length = 24.0
|
|
camera.pixel_aspect = 1
|
|
camera.k1 = 0.0
|
|
camera.k2 = 0.0
|
|
camera.k3 = 0.0
|