Commit Graph

262 Commits

Author SHA1 Message Date
george rolfe
84ff973c8f Pilot toolbar label converted to a button that selects the actor
#jira UE-203573
#rb aditya.ravichandran

[CL 30648919 by george rolfe in ue5-main branch]
2024-01-16 18:11:49 -05:00
semion piskarev
f3f45f2115 Editor: Support using non-actor factories for dragging things into the level, support non-actor drag preview objects, and fix some "recently placed" category handling to handle custom placed items.
#rb brooke.hubert, logan.buchy
#jira UE-201096

[CL 30305072 by semion piskarev in ue5-main branch]
2023-12-13 16:33:42 -05:00
brooke hubert
6bc2713109 [Keyboard Shortcuts] Deprecate AActor::EditorKeyPressed and convert current usage to keybinds
#Jira UE-200170
#rb aditya.ravichandran

[CL 29718188 by brooke hubert in ue5-main branch]
2023-11-14 13:09:13 -05:00
max chen
8441c6b3f3 Editor: Add Allow Cinematic Control to FLevelEditorViewportInstanceSettings so that the state is stored/restored
#jira UE-132376
#rb matt.hoffman

[CL 29116760 by max chen in ue5-main branch]
2023-10-25 22:10:20 -04:00
jeanmichel dignard
874a2b3406 Level editor viewport: Save level viewport infos when closing the editor
- 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]
2023-10-11 17:14:06 -04:00
marc audy
65de35fdfb Lof elements that were not renamed yet.
- MSM_Substrate
- MCT_Substrate
- FStrataMaterialInput

#rb charles.derousiers

[CL 27563163 by marc audy in ue5-main branch]
2023-09-01 15:06:19 -04:00
sebastien hillaire
b7f8af4297 Substrate - Rename/move file(s)
#rb none
[FYI] charles.derousiers

[CL 27515000 by sebastien hillaire in ue5-main branch]
2023-08-31 04:48:07 -04:00
sebastien hillaire
4f274d1ef3 Substrate - Rename/move file(s)
#rb none
[FYI] charles.derousiers

[CL 27514986 by sebastien hillaire in ue5-main branch]
2023-08-31 04:47:50 -04:00
stu mckenna
3010f7ca39 - Fix for accumulating realtime overrides after each PIE session
#rb logan.buchy

[CL 27127048 by stu mckenna in ue5-main branch]
2023-08-15 19:41:14 -04:00
han chu
0e226bf6a8 Problem:
"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]
2023-08-07 14:23:36 -04:00
logan buchy
afc26a0f51 Prevent LevelEditorViewportClient draw on PIE in LevelEditorViewport
* 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]
2023-07-26 16:56:32 -04:00
han chu
a7927fb7d8 Make show flags persistent under "Game View".
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]
2023-07-21 19:19:25 -04:00
ben hoffman
90ed12e1e5 This is two changelists, re-submitting of 25473883 (which was backed out with 25495316) and also a cherry pick of 25507685 to fix an ensure the original CL caused.
#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]
2023-05-31 14:56:43 -04:00
Vincent Gauthier
bf96119127 Tentative fix for ensure when exiting pie and fix to error message.
#jira UE-185992
#preflight 6463ee8311205d3573683fcf

[CL 25498085 by Vincent Gauthier in ue5-main branch]
2023-05-16 17:18:57 -04:00
rex hill
8b7a61f8c0 Fix editor ensure on startup when STATS is not defined.
InUICommandInfo.IsValid()
#preflight 6449e7caf451a6221168ef20
#UEFN-RN

[CL 25210946 by rex hill in ue5-main branch]
2023-04-27 00:16:44 -04:00
jeanfrancois dube
664f8d62b5 Save viewport camera settings into per-user editor config file.
#rb philippe.deseve
#preflight 63d84c855d0c0164cc91db4c

[CL 23924086 by jeanfrancois dube in ue5-main branch]
2023-01-31 01:29:03 -05:00
charles derousiers
5229394cfe Fix incorrect material appearance on raytracing material with Strata enabled
* 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]
2023-01-31 01:12:18 -05:00
christopher waters
8fd10b0e13 Dependency cleanup around some Rendering headers.
#preflight 63b893e547321b9d895924b0

[CL 23605570 by christopher waters in ue5-main branch]
2023-01-06 18:57:09 -05:00
christopher waters
0d5b23e2e3 Adding includes to prepare for a header dependency cleanup.
#preflight 63b5e0bfff7b9ad7030f0f81

[CL 23581920 by christopher waters in ue5-main branch]
2023-01-04 17:07:40 -05:00
florin pascu
a34e8d2783 Resolve crash caused by UWorld being GC while in PIE
#rb Carl.Lloyd
#preflight 63b52fd2c6265e21bc4214b0

[CL 23580168 by florin pascu in ue5-main branch]
2023-01-04 15:46:35 -05:00
Charles deRousiers
cfa7271da9 Fix crash when in level editor when hairstrands plugin is not enabled.
#rb none
#jira none
#preflight skip

[CL 23429329 by Charles deRousiers in ue5-main branch]
2022-12-07 11:17:25 -05:00
Charles deRousiers
af6aa8b792 * Add groom view mode menu to level editor
* 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]
2022-12-07 09:21:47 -05:00
Charles deRousiers
2190bdd38e Add Strata debug mode into the level view menu.
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]
2022-10-27 02:52:45 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
jeanfrancois dube
df23acad8e World Partition: replace popup by on-screen message when streaming is disabled but the world is large enough to justify enabling it.
#rb patrick.enfedaque
fyi jeansebastien.guay
#preflight 632dedbcb4515b7e2232b5e0
#rnx

[CL 22165369 by jeanfrancois dube in ue5-main branch]
2022-09-23 20:46:11 -04:00