Skip to content

Commit 5270c66

Browse files
author
Fabien Servant
committed
Rollback for compatibility
1 parent 7318ef0 commit 5270c66

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/aliceVision/camera/IntrinsicScaleOffsetDisto.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ bool IntrinsicScaleOffsetDisto::updateFromParams(const std::vector<double>& para
9191
return false;
9292
}
9393

94+
if (_pDistortion && params.size() == 4 + _pDistortion->getParameters().size())
95+
{
96+
setDistortionParams({params.begin() + 4, params.end()});
97+
}
98+
9499
return true;
95100
}
96101

0 commit comments

Comments
 (0)