diff options
Diffstat (limited to 'release/scripts/presets/tracking_camera/Analog_16mm.py')
-rw-r--r-- | release/scripts/presets/tracking_camera/Analog_16mm.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/release/scripts/presets/tracking_camera/Analog_16mm.py b/release/scripts/presets/tracking_camera/Analog_16mm.py index a290839c8e0..08761d05c31 100644 --- a/release/scripts/presets/tracking_camera/Analog_16mm.py +++ b/release/scripts/presets/tracking_camera/Analog_16mm.py @@ -1,4 +1,6 @@ import bpy -bpy.context.camera.sensor_width = 10.26 -bpy.context.camera.sensor_height = 7.49 -bpy.context.camera.sensor_fit = 'HORIZONTAL' +camera = bpy.context.edit_movieclip.tracking.camera + +camera.sensor_width = 10.26 +camera.units = 'MILLIMETERS' +camera.pixel_aspect = 1 |