Commit Graph

1112 Commits

Author SHA1 Message Date
aditya ravichandran
632ef3784e Outliner:
Port ActorBrowsingMode over to the new Editor Config system to have separate settings for each outliner
Enable Stacked Hierarchy Headers by default
Add the ability to disable framing selection
Add the ability to get the most recently used outliner from the level editor
Fix a bug where renaming an item on one outliner would sometimes execute the rename on a different outliner

#rb richard.malo
#jira UETOOL-5014
#preflight 627aa9811e74993343331221

[CL 20126651 by aditya ravichandran in ue5-main branch]
2022-05-10 14:20:42 -04:00
lauren barnes
5f7006fb53 Fixing EditorStyle->AppStyle merge errors
#rb trivial

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20073150 via CL 20073151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105751 by lauren barnes in ue5-main branch]
2022-05-09 13:31:58 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
Richard Malo
dffb5b9557 Second pass on Editor Context
#jira UE-150705
#rb patrick.enfedaque
#preflight 626fe655645c64f3a2426e06

[CL 20008791 by Richard Malo in ue5-main branch]
2022-05-02 11:00:12 -04:00
vincent beauchemin
e50e6bce3c Build Menu - Display the World Partition section depending if we are in a world partition world or not. If not, display the previous hlod menu entry like before.
#jira UE-149173 - No feedback when attempting to build the minimap when World Partition is not enabled
#rb jeanfrancois.dube sebastien.lussier
#preflight skip
#rnx

[CL 20007598 by vincent beauchemin in ue5-main branch]
2022-05-02 09:15:55 -04:00
brooke hubert
2b59ecd263 Fix a crash in level editor viewports when the slate window is destroyed and recreated (like when reloading the default viewport).
#preflight 6260b1dd6c1237ea1236c555
#Jira UE-149356
#rb julien.stjean
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: brooke.hubert
#ROBOMERGE-SOURCE: CL 19856122 in //UE5/Release-5.0/... via CL 19857724
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19869131 by brooke hubert in ue5-main branch]
2022-04-22 14:49:49 -04:00
brooke hubert
1664c8f9a8 Adding missing deprecation pragma guards from CL 19853509
#rnx
#Jira UE-149401
#rb trivial
#pf skip

#ROBOMERGE-AUTHOR: brooke.hubert
#ROBOMERGE-SOURCE: CL 19853998 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19855298 by brooke hubert in ue5-main branch]
2022-04-21 16:29:52 -04:00
brooke hubert
5b46ca629b Fix a crash when changing layout or viewport type in Level editor viewports and running various exec commands that used typed element common actions.
#preflight 625f1a14fd255ad9e2ee4664
#Jira UE-149401
#rb lauren.barnes
#lockdown jeanmichel.dignard, cristina.riveron

#ROBOMERGE-AUTHOR: brooke.hubert
#ROBOMERGE-SOURCE: CL 19848657 in //UE5/Release-5.0/... via CL 19853509
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19855245 by brooke hubert in ue5-main branch]
2022-04-21 16:28:19 -04:00
zach rammell
392dfe8d69 [Backout] - CL19565596
Original CL Desc
-----------------------------------------------------------------
Prevent details panel from getting stuck on deleted elements when locked

It will now unlock and clear itself when an element is deleted

#jira UE-142503
#rb brooke.hubert
#preflight 6244d3829f4042341454d61a

[CL 19595303 by zach rammell in ue5-main branch]
2022-04-01 16:45:42 -04:00
zach rammell
400c4b2022 Prevent details panel from getting stuck on deleted elements when locked
It will now unlock and clear itself when an element is deleted

#jira UE-142503
#rb brooke.hubert
#preflight 6244d3829f4042341454d61a

[CL 19565596 by zach rammell in ue5-main branch]
2022-03-30 18:26:36 -04:00
Patrick Enfedaque
73f3cb29a4 LevelInstance: Extract ILevelInstanceInterface, FLevelInstanceActorImpl from ALevelInstance to allow LevelInstance implementation in existing AActor class hierarchies
#rb richard.malo, jeanfrancois.dube
#preflight 62420c81dc6183e3f5d47b90
#rnx

[CL 19541016 by Patrick Enfedaque in ue5-main branch]
2022-03-29 09:19:22 -04:00
aditya ravichandran
3fba7c938e StarshipStyle: Rename "EditorViewport.SubMenu.Layouts" to "Icons.Layout" and move it to StarshipCoreStyle
#rn deprecation editor
#jira UE-147073
#rb louise.rasmussen
#preflight 623e14b96d39f6b5a05b87fe

[CL 19517936 by aditya ravichandran in ue5-main branch]
2022-03-25 15:45:41 -04:00
Matt Peters
c1b46b1fed FAssetData: Callsites need to handle AssetData.GetClass() returning null. Added IsInstanceOf(UClass*) for the common operation GetClass() && GetClass->IsChildOf(BaseClass).
#jira UE-146521
#rb Zousar.Shaker
#rnx
#preflight 623874b789625f06129e466b

[CL 19450936 by Matt Peters in ue5-main branch]
2022-03-21 09:00:36 -04:00
Richard Malo
9a66faad7c Make Actor Editor Context respect "Hide Viewport UI" option.
#rb patrick.enfedaque
#preflight 62346319da56b5683ac64604
#robomerge FNNC

[CL 19433760 by Richard Malo in ue5-main branch]
2022-03-18 07:00:58 -04:00
aditya ravichandran
86faf11210 SceneOutliner: Fix a bug causing changes in PIE to apply to the actual level instead of replicating in the PIE session
#jira UE-146138
#fyi brooke.hubert
#rb Lauren.Barnes
#preflight 62321275736af8e08228e98f

[CL 19407552 by aditya ravichandran in ue5-main branch]
2022-03-16 12:52:34 -04:00
philippe deseve
8218e80ef1 UDataLayer deprecated in favor of UDataLayerInstance & UDataLayerAsset
UDeprecatedDataLayerInstance allows to boot level using deprecated UDataLayers
Worlds using DataLayer can run the DataLayerToAssetCommandlet to transition their existing DataLayers
FActorDataLayer interface is deprecated.
DataLayers Blueprint referencers should now use DataLayerAsset to retrieve DataLayerInstances.
DataLayer Code referencers should now use DataLayerAssets or DataLayerInstance FName to retrieve DataLayerInstances.
DataLayerLabels now only used for display/UI purpose
Relabeling DataLayers is not permitted anymore on new DataLayerInstances (allowed on UDeprecatedDataLayerInstance)
Added Changelist Validation for DataLayers
Added a column to the datalayer outliner showing any data layer errors.

#rb richard.mal jeanfrancois.dube
#preflight 623098c2050dc69468b6a297 (errors only related to lyra, which do not exist in this stream)

#ROBOMERGE-OWNER: philippe.deseve
#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 19385808 via CL 19387392
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19389077 by philippe deseve in ue5-main branch]
2022-03-15 13:52:28 -04:00
Josie Yang
f8cc29c587 Implement GPUSkinCache debug visualization modes
*) 'Overview' shows skin cache on/off, recompute tangents on/off
*) 'Memory' shows skin cache memory consumption per sk mesh, includes RT if sk mesh uses a separate RT entry
*)  'RayTracingLODOffset` shows RT LOD index offset from raster LOD index

#jira UE-136542
#rb jeremy.moore
#preflight 622bb12b902b7ca699df8755

[CL 19383862 by Josie Yang in ue5-main branch]
2022-03-15 06:49:12 -04:00
lauren barnes
75231c8e97 Checking that the ILevelEditor shared pointer is valid before dereferencing it in the main menu generating code.
#jira UE-145306
#preflight 622b59910a614dcb0cf728a0
#rb JeanMichel.Dignard
#lockdown Simon.Tourangeau

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 19356609 in //UE5/Release-5.0/... via CL 19357402
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19358571 by lauren barnes in ue5-main branch]
2022-03-11 13:50:49 -05:00
sebastien lussier
a1e2270aa7 #jira UE-143721
Build HLODs / Minimap in editor

* Added the necessary code to be able these builds from inside the editor, using the "Build" menu
* The HLOD build will show a dialog where you can select a few options (setup, build, forcebuild, delete), then start the build
* The minimap build has no options, will start right away
* Build is actually done through an external process, so the editor will ask to save any changes that's been made, and unload the current map before starting a commandlet
* Progress is updated by parsing the commandlet log during it's execution
* Once the build is complete, will force an asset registry scan and reload the map

* Also disabled the "HLOD Outliner" tool when in a partitionned level, as it is not working and may be confusing.

#preflight 6226e29f671c913c0502a807
#rb jeanfrancois.dube, patrick.enfedaque

#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 19302772 in //UE5/Release-5.0/... via CL 19303919
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19346855 by sebastien lussier in ue5-main branch]
2022-03-10 20:49:05 -05:00
Richard Malo
296dd8a20c - Actor Editor Context : System can register themselves to the ActorEditorContextSubsystem and provide the necessary to apply their context value to newly created actors and optionally show a widget in the viewport.
- Refactored viewport's current level combobox and added "current data layers" in data layer outliner and "current folder" in world outliner to use this system.
- Can optionally be hidden from viewport using advanced flag in ULevelEditorViewportSettings.
#robomerge FNNC
#rb patrick.enfedaque
#preflight 6227604a7077eb04cf696c33

[CL 19302351 by Richard Malo in ue5-main branch]
2022-03-08 09:40:27 -05:00
leon huang
0193ffe8d3 Fix for CIS warnings for localization duplicate keys. Fixes simply involve changing one of the colliding localization keys.
#rnx
	#rb: Vincent.Gauthier
	#jira: UE-143620
	#preflight: 6222489d2f7d78332e121416
	#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: leon.huang
#ROBOMERGE-SOURCE: CL 19272838 in //UE5/Release-5.0/... via CL 19273134
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19275063 by leon huang in ue5-main branch]
2022-03-04 16:10:23 -05:00
aditya ravichandran
9b7c1af5b5 Rename "Select" Mode to "Selection"
#jira UE-143726
#rb lauren.barnes
#preflight 6220eeed7b383ac2989a1e21

[CL 19245459 by aditya ravichandran in ue5-main branch]
2022-03-03 11:59:28 -05:00
zach rammell
5308bebc9e Fix startup crash when assigning shortcuts to editor modes from plugins
#jira UE-144387
#rb Brooke.Hubert
#preflight 62200b01f571de393ade0d85

[CL 19234885 by zach rammell in ue5-main branch]
2022-03-02 19:56:16 -05:00
zach rammell
787bc123ff Editor Modes: hide shortcut editors for non-visible modes
A lot of editor modes depend on context derived from other tooling or are situated in their own windows, so assigning a shortcut and then using it will either crash or do nothing, respectively. This makes it so that the only modes with sensible manual assignment behavior can have shortcuts created for them.

#jira UE-140642
#rb Patrick.Laflamme Brooke.Hubert
#preflight 62196fb3847077002e9defb9

[CL 19160934 by zach rammell in ue5-main branch]
2022-02-25 19:28:25 -05:00