forked from bartvdbraak/blender
Camera Tracking: fixed camera solve operator not updating scene camera
Was own regression caused by fix of crash when non-camera object is used as scene camera.
This commit is contained in:
parent
c9d84ab5ed
commit
eda56398af
@ -1409,7 +1409,7 @@ static void solve_camera_freejob(void *scv)
|
||||
id_us_plus(&clip->id);
|
||||
|
||||
/* set blender camera focal length so result would look fine there */
|
||||
if (scene->camera && GS(scene->camera->id.name) == ID_CA) {
|
||||
if (scene->camera && scene->camera->data && GS(((ID *) scene->camera->data)->name) == ID_CA) {
|
||||
Camera *camera = (Camera *)scene->camera->data;
|
||||
int width, height;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user