Skip to content

Commit

Permalink
#6131: Fix Camera not reacting to arrow keys
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Oct 18, 2022
1 parent 41a4406 commit 1d13433
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions radiant/camera/CameraWndManager.cpp
Expand Up @@ -152,6 +152,11 @@ CamWnd* CameraWndManager::createCamWnd(wxWindow* parent)
void CameraWndManager::addCamWnd(int id, CamWnd* cam)
{
_cameras.insert(CamWndMap::value_type(id, cam));

if (_activeCam == -1)
{
_activeCam = cam->getId();
}
}


Expand Down

0 comments on commit 1d13433

Please sign in to comment.