Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qgscamerapose: Fix pitch max value to avoid rotation computation error
This is a similar fix to b173af9 which fixed the pitch min value. With a mPitchAngle > 179.8, QQuaternion::fromEulerAngles( mPitchAngle, mHeadingAngle, 0 ) will return bad rotation angles. This is fixed is Qt6, but it has not been backported to Qt5. See: https://bugreports.qt.io/browse/QTBUG-72103
- Loading branch information