diff --git a/Editor/Editor.cpp b/Editor/Editor.cpp index c80b0fab0..5a3ddce8e 100644 --- a/Editor/Editor.cpp +++ b/Editor/Editor.cpp @@ -770,6 +770,9 @@ void EditorComponent::Load() if (cam != nullptr) { wiScene::GetCamera() = *cam; + // camera aspect should be always for the current screen + wiScene::GetCamera().width = renderPath->GetInternalResolution().x; + wiScene::GetCamera().height = renderPath->GetInternalResolution().y; } } }