Skip to content

Commit

Permalink
Rollback for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Feb 6, 2025
1 parent 69dce70 commit 8a368a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/aliceVision/camera/IntrinsicScaleOffsetDisto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ bool IntrinsicScaleOffsetDisto::updateFromParams(const std::vector<double>& para
return false;
}

if (_pDistortion && params.size() == 4 + _pDistortion->getParameters().size())
{
setDistortionParams({params.begin() + 4, params.end()});
}

return true;
}

Expand Down

0 comments on commit 8a368a6

Please sign in to comment.