Commit 7b5d2982 authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Save the previous ext rotation from the ext data and not from the combined orientation data

parent 76739e9a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1126,7 +1126,7 @@ static ivas_error combine_external_and_head_orientations(
#ifdef FIX_570_SF_EXT_ORIENTATION
        if ( hExtOrientationData->enableExternalOrientation[MAX_PARAM_SPATIAL_SUBFRAMES - 1] > 0 )
        {
            hCombinedOrientationData->Quaternion_prev_extOrientation = hCombinedOrientationData->Quaternions[MAX_PARAM_SPATIAL_SUBFRAMES - 1];
            hCombinedOrientationData->Quaternion_prev_extOrientation = hExtOrientationData->Quaternions[MAX_PARAM_SPATIAL_SUBFRAMES - 1];
        }
        else
        {