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:
parent
fc5ba7e0bd
commit
a49838ccb0
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue