Tracking: Fix missing camera depsgraph update tag

Was causing lack of proper viewport update when camera solve assigned
new focal length to the camera.
This commit is contained in:
Sergey Sharybin 2019-07-28 17:07:39 +02:00
parent fc5ba7e0bd
commit a49838ccb0
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ static void solve_camera_freejob(void *scv)
int width, height;
BKE_movieclip_get_size(clip, &scj->user, &width, &height);
BKE_tracking_camera_to_blender(tracking, scene, camera, width, height);
DEG_id_tag_update(&camera->id, ID_RECALC_COPY_ON_WRITE);
WM_main_add_notifier(NC_OBJECT, camera);
}