Remove the legacy ViewSystem and some other tangentially related legacy code. (#5558)

Signed-off-by: bosnichd <bosnichd@amazon.com>
This commit is contained in:
bosnichd
2021-11-11 13:29:51 -07:00
committed by GitHub
parent 9e2a3226fd
commit 19acf94606
49 changed files with 73 additions and 3504 deletions
@@ -24,7 +24,6 @@
#include <IConsole.h>
#include <ITimer.h>
#include <IRenderer.h>
#include <IViewSystem.h>
//////////////////////////////////////////////////////////////////////////
namespace
@@ -615,20 +614,6 @@ bool UiAnimationSystem::InternalStopSequence(IUiAnimSequence* pSequence, bool bA
//////////////////////////////////////////////////////////////////////////
bool UiAnimationSystem::AbortSequence(IUiAnimSequence* pSequence, bool bLeaveTime)
{
assert(pSequence);
// to avoid any camera blending after aborting a cut scene
IViewSystem* pViewSystem = gEnv->pSystem->GetIViewSystem();
if (pViewSystem)
{
pViewSystem->SetBlendParams(0, 0, 0);
IView* pView = pViewSystem->GetActiveView();
if (pView)
{
pView->ResetBlending();
}
}
return InternalStopSequence(pSequence, true, !bLeaveTime);
}