- We currently save the viewport camera infos on map change and map teardown.
- With this change, we will also save the camera infos when closing the editor, as it's equivalent to a map teardown.
#rb brooke.hubert, logan.buchy
#jira UE-197718
[CL 28683638 by jeanmichel dignard in ue5-main branch]
"Mode Widgets" is by default disabled in game mode. The expected behavior in this case, according to feedback from content producers, should be as follows: "Mode Widgets" should be enabled by default, but the selection outline and transform widgets should be hidden. They should reappear once the user selects an actor.
Cause:
"EngineShowFlags.SetModeWidgets(false);" when entering game mode
Fix:
When entering game mode, temporarily set LevelViewportClient->bShowWidget to false while keeping the showflag "Mode Widgets" set to true. Transform widget is hidden in this manner when entering game mode, and selecting any actor will make it visible again because of the modification in SLevelViewport::OnActorSelectionChanged. The modification to SLevelViewport::ToggleGameView() makes sure that after leaving game mode, LevelViewportClient->bShowWidget is properly reset to true.
#jira UE-191508
#rb @logan.buchy
[CL 26893130 by han chu in ue5-main branch]
* This change addesses an issue which causes the LevelEditorViewportClient to render while PIE is active on the LevelEditorViewport. This results in a frame which is never displayed and therefore reduced rendering performance.
* The issue's root cuase is due to behaviour where the GameViewportClient and EditorViewportClient swap their stat flags when PIE is started on a selected LevelEditor sceneviewport - see FSceneViewport::SwapStatCommands. When stat flags are present on the GameViewportClient before PIE is started, the EditorViewportClient will inherit the stat flags. However, this has the side-effect of pushing a 'true' RealTime override onto ViewportClient. This causes ViewportClient->IsRealtime() to return true.
* UEditorEngine::UpdateSingleViewportClient() is called by the UEditorEngine::Tick() each frame, finds the EditorViewportClient->IsRealtime() to be true and triggers LevelEditorViewportClient->Viewport->Draw() even though there is no SceneViewport to display the render.
* The fix pushes a realtime override to disable realtime mode for the LevelEditorViewportClient when a PIE session is started that takes over the LevelEditorViewport and subsequently removes the override when PIE ends.
#jira UE-168061
#rb ronald.koppers
[CL 26621251 by logan buchy in ue5-main branch]
Assumptions:
1. Selections are cleared and "Mode Widget" is disabled after switching into "Game View", based on the existing function "void FEditorViewportClient::SetGameView(bool bGameViewEnable)" in "EditorViewportClient.cpp".
2. "bAlwaysShowModeWidgetAfterSelectionChanges" being "true" under "Game View" is not the intended behavior, as "void SLevelViewport::OnActorSelectionChanged(const TArray<UObject*>& NewSelection, bool bForceRefresh)" would bring "Mode Widget" back.
#jira UE-183635
#rb @ronald.koppers
[CL 26530624 by han chu in ue5-main branch]
#preflight 647773ab0d55081f5494ab67
#jira none
--------------------------------------------------
Add ability to add a widget inside the global window overlay
#rb Patrick.Boutot
#ushell-cherrypick of 25473883 by kristof.morva1
----------------------------------------------
Fix ensure when hiding mouse capture label after exiting PIE
#rb Vincent.Gauthier
#ushell-cherrypick of 25507685 by kristof.morva1
[CL 25709904 by ben hoffman in ue5-main branch]
* Add adaptive RT material payload for Strata.
* Centralize all Strata settings in RenderCore/RenderUtils.h to ensure consistency
#rb chris.kulla
#jira none
#preflight 63d43bcff626715201a0ed1d
[FYI] sebastien.hillaire
[CL 23923301 by charles derousiers in ue5-main branch]
* Unify most groom debug rendering to go through view more rather than CVars
#rb none
#jira none
#preflight 63909a4b0d013d47ef1cee7e
[CL 23427771 by Charles deRousiers in ue5-main branch]
This gives direct access to all Strata view mode, which helps with discoverability.
All strata view mode are also available with CVar: r.Strata.ViewMode
#rb none
#jira none
#preflight 635a22c68d56375d45d65e15
#fyi sebastien.hillaire
[CL 22806075 by Charles deRousiers in ue5-main branch]