mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
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
6 lines
142 B
Python
6 lines
142 B
Python
import bpy
|
|
camera = bpy.context.edit_movieclip.tracking.camera
|
|
|
|
camera.sensor_width = 36
|
|
camera.units = 'MILLIMETERS'
|
|
camera.pixel_aspect = 1
|