Delete code which was only commented out
Signed-off-by: Yuriy Toporovskyy <toporovskyy.y@gmail.com>
This commit is contained in:
@@ -254,7 +254,6 @@ void CViewSystem::Update(float frameTime)
|
||||
}
|
||||
|
||||
AZ_ErrorOnce("CryLegacy", false, "CryLegacy view system no longer available (CViewSystem::Update)");
|
||||
//m_pSystem->SetViewCamera(rCamera);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -559,24 +558,6 @@ void CViewSystem::SetOverrideCameraRotation(bool bOverride, Quat rotation)
|
||||
void CViewSystem::UpdateSoundListeners()
|
||||
{
|
||||
AZ_ErrorOnce("CryLegacy", false, "CryLegacy view system no longer available (CViewSystem::UpdateSoundListeners)");
|
||||
|
||||
//assert(gEnv->IsEditor() && !gEnv->IsEditorGameMode());
|
||||
|
||||
//// In Editor we may want to control global listeners outside of the game view.
|
||||
//if (m_bControlsAudioListeners)
|
||||
//{
|
||||
// IView* const pActiveView = static_cast<IView*>(GetActiveView());
|
||||
// TViewMap::const_iterator Iter(m_views.begin());
|
||||
// TViewMap::const_iterator const IterEnd(m_views.end());
|
||||
|
||||
// for (; Iter != IterEnd; ++Iter)
|
||||
// {
|
||||
// IView* const pView = Iter->second;
|
||||
// bool const bIsActive = (pView == pActiveView);
|
||||
// CCamera const& rCamera = bIsActive ? gEnv->pSystem->GetViewCamera() : pView->GetCamera();
|
||||
// pView->UpdateAudioListener(rCamera.GetMatrix());
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user