Handle the case where a camera deactivates and the previous camera on the stack should become the active view

Signed-off-by: Yuriy Toporovskyy <toporovskyy.y@gmail.com>
This commit is contained in:
Yuriy Toporovskyy
2021-08-04 17:20:45 -04:00
parent bb36a4d40c
commit bf361c2c13
2 changed files with 14 additions and 11 deletions
@@ -132,6 +132,7 @@ namespace Camera
AZ::RPI::AuxGeomDrawPtr m_atomAuxGeom;
AZ::Event<const AZ::Matrix4x4&>::Handler m_onViewMatrixChanged;
bool m_updatingTransformFromEntity = false;
bool m_isActiveView = false;
// Cry view integration
IView* m_view = nullptr;