Fix issue with viewport interaction ordering and viewport matrix changed handler (#695)

* fix for ctrl+mouse-wheel to cycle transform modes in the viewport

* ensure correct callback function is invoked

* remove redundant check in CameraInput
This commit is contained in:
Tom Hulton-Harrop
2021-05-12 09:40:37 +01:00
committed by GitHub
parent bf62687b37
commit f9fb61cc5d
4 changed files with 191 additions and 173 deletions
@@ -40,9 +40,10 @@ namespace AZ
{
m_projectionMatrixChangedEvent.Signal(matrix);
});
m_onViewMatrixChangedHandler = ViewportContext::MatrixChangedEvent::Handler([this](const AZ::Matrix4x4& matrix)
{
m_projectionMatrixChangedEvent.Signal(matrix);
m_viewMatrixChangedEvent.Signal(matrix);
});
SetRenderScene(renderScene);