Tracking: Use pixel aspect from clip
Don't force square pixel, since on a more real pipeline expected delivery is same anamorphic as an input footage.
This commit is contained in:
parent
24330f679e
commit
ea61700a2d
|
@ -1992,10 +1992,10 @@ void BKE_tracking_camera_to_blender(MovieTracking *tracking, Scene *scene, Camer
|
|||
camera->sensor_fit = CAMERA_SENSOR_FIT_AUTO;
|
||||
camera->lens = focal * camera->sensor_x / width;
|
||||
|
||||
scene->r.xsch = width * tracking->camera.pixel_aspect;
|
||||
scene->r.xsch = width;
|
||||
scene->r.ysch = height;
|
||||
|
||||
scene->r.xasp = 1.0f;
|
||||
scene->r.xasp = tracking->camera.pixel_aspect;
|
||||
scene->r.yasp = 1.0f;
|
||||
|
||||
BKE_tracking_camera_shift_get(tracking, width, height, &camera->shiftx, &camera->shifty);
|
||||
|
|
Loading…
Reference in New Issue