diff options
Diffstat (limited to 'release/scripts/presets/tracking_camera/APS-C_(Canon).py')
-rw-r--r-- | release/scripts/presets/tracking_camera/APS-C_(Canon).py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/release/scripts/presets/tracking_camera/APS-C_(Canon).py b/release/scripts/presets/tracking_camera/APS-C_(Canon).py index 484929a54e7..285f290d899 100644 --- a/release/scripts/presets/tracking_camera/APS-C_(Canon).py +++ b/release/scripts/presets/tracking_camera/APS-C_(Canon).py @@ -1,4 +1,6 @@ import bpy -bpy.context.camera.sensor_width = 22.30 -bpy.context.camera.sensor_height = 14.90 -bpy.context.camera.sensor_fit = 'HORIZONTAL' +camera = bpy.context.edit_movieclip.tracking.camera + +camera.sensor_width = 22.30 +camera.units = 'MILLIMETERS' +camera.pixel_aspect = 1 |