Skip to content

Commit

Permalink
[sfm] Corrected a problem with updating intrinsics after BA in locali…
Browse files Browse the repository at this point in the history
…zation mode. openMVG#1369
  • Loading branch information
hcjghr authored and pmoulon committed Aug 25, 2018
1 parent d113aa1 commit 835f1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openMVG/sfm/pipelines/localization/SfM_Localizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ namespace sfm {
{
pose = sfm_data.poses[0];
if (b_refine_intrinsic)
*intrinsics = *shared_intrinsics;
intrinsics->updateFromParams(shared_intrinsics->getParams());
}

return b_BA_Status;
Expand Down

0 comments on commit 835f1e5

Please sign in to comment.