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