New tracking-camera presets d486ee2dbd 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 = 13.2
|
|
camera.units = 'MILLIMETERS'
|
|
camera.pixel_aspect = 1
|