Fixed Camera Locations

Signed-off-by: igarri <igarri@amazon.com>
This commit is contained in:
igarri
2021-10-12 10:37:33 +01:00
parent dcadfe6e1f
commit da190abbab
+4 -1
View File
@@ -1445,7 +1445,10 @@ void EditorViewportWidget::SetViewTM(const Matrix34& camMatrix, bool bMoveOnly)
"Please report this as a bug."
);
}
else if (shouldUpdateObject == ShouldUpdateObject::No)
{
GetCurrentAtomView()->SetCameraTransform(LYTransformToAZMatrix3x4(camMatrix));
}
if (m_pressedKeyState == KeyPressedState::PressedThisFrame)
{
m_pressedKeyState = KeyPressedState::PressedInPreviousFrame;