Updates to Goto Position to work with the new camera system (#1212)

* add support for 'GoTo Position' to work with the new camera enabled

* small updates to move away from more legacy calls

* minor formatting change

* ensure values are converted from degrees to radians

* revert change to use Enumerate viewport call

* remove formatting changes from SandboxIntegration
This commit is contained in:
Tom Hulton-Harrop
2021-06-10 17:46:01 +01:00
committed by GitHub
parent fedc85f51f
commit 1946561b8d
11 changed files with 328 additions and 427 deletions
+2 -2
View File
@@ -3702,8 +3702,8 @@ void CCryEditApp::OnViewCycle2dviewport()
//////////////////////////////////////////////////////////////////////////
void CCryEditApp::OnDisplayGotoPosition()
{
CGotoPositionDlg dlg;
dlg.exec();
GotoPositionDialog dialog;
dialog.exec();
}
//////////////////////////////////////////////////////////////////////////