Camera tracking integration
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 9 Aug 2011 17:51:32 +0000 (17:51 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 9 Aug 2011 17:51:32 +0000 (17:51 +0000)
===========================

Use initial pixel aspect ratio of 1.0 for new clips.

source/blender/blenkernel/intern/movieclip.c

index d15a987499430403a7c1ac4a49bc206bac885a11..649db6acc403fefbe54413c1bc99525e8306efb1 100644 (file)
@@ -341,6 +341,7 @@ static MovieClip *movieclip_alloc(const char *name)
        clip->aspx= clip->aspy= 1.0f;
 
        clip->tracking.camera.sensor_width= 35.0f;
+       clip->tracking.camera.pixel_aspect= 1.0f;
        clip->tracking.camera.units= CAMERA_UNITS_MM;
 
        clip->tracking.settings.frames_limit= 20;