diff --git a/lib_rend/ivas_objectRenderer_mix_fx.c b/lib_rend/ivas_objectRenderer_mix_fx.c index 598308fd4dd355706e29d1084f972522c898de9d..f19d33212356301973cd52d63269d2c31e1eb0c2 100644 --- a/lib_rend/ivas_objectRenderer_mix_fx.c +++ b/lib_rend/ivas_objectRenderer_mix_fx.c @@ -112,9 +112,15 @@ ivas_error TDREND_MIX_LIST_SetOrient_fx( /* Get listener */ List_p = hBinRendererTd->Listener_p; +#ifdef FIX_FLOAT_1573_POSITION_UPDATE + /* Evaluate the normalized orientation vectors and set pose update flag */ + /* Use OR since the position may have been updated in TDREND_MIX_LIST_SetPos */ + List_p->PoseUpdated = s_or( List_p->PoseUpdated, TDREND_SPATIAL_EvalOrthonormOrient_fx( List_p->Front_fx, List_p->Up_fx, List_p->Right_fx, FrontVec_p_fx, UpVec_p_fx, orient_q ) ); // Q0 +#else /* Evaluate the normalized orientation vectors and set pose update flag */ List_p->PoseUpdated = TDREND_SPATIAL_EvalOrthonormOrient_fx( List_p->Front_fx, List_p->Up_fx, List_p->Right_fx, FrontVec_p_fx, UpVec_p_fx, orient_q ); // Q0 move16(); +#endif return IVAS_ERR_OK; }