forked from bartvdbraak/blender
486d1e8510
New tracking-camera presets d486ee2dbdd3 used wrong code because I copied them from the camera-presets. Now they set the right properties again, the values stay the same as before. Differential Revision: https://developer.blender.org/D13139
7 lines
144 B
Python
7 lines
144 B
Python
import bpy
|
|
camera = bpy.context.edit_movieclip.tracking.camera
|
|
|
|
camera.sensor_width = 4.54
|
|
camera.units = 'MILLIMETERS'
|
|
camera.pixel_aspect = 1
|