Commit Graph

17 Commits

Author SHA1 Message Date
JeanFrancois Dube
285e40444b Data Layers: replaced FScopedDataLayerTransaction by FScopedTransaction.
#rb richard.malo
#preflight 62824179c57a894cf66e3541
#rnx

[CL 20222410 by JeanFrancois Dube in ue5-main branch]
2022-05-16 08:48:27 -04:00
richard malo
879c5c42c6 Added support of Data Layers inside Level Instances.
#rb jeanfrancois.dube, patrick.enfedaque, philippe.deseve
#jira UE-151266
#preflight 62796854a35fb5cb3f55e9e6

#ROBOMERGE-OWNER: richard.malo
#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 20121141 via CL 20121608 via CL 20121618
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20122781 by richard malo in ue5-main branch]
2022-05-10 10:22:54 -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
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
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
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
jeanfrancois dube
c3276a9963 Change unloaded data layers display color in PIE to be gray instead of red.
#rb none

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18397120 in //UE5/Release-5.0/... via CL 18397127
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18397142 by jeanfrancois dube in ue5-release-engine-test branch]
2021-12-07 13:48:13 -05:00
richard malo
0a5cd75ed9 - Added Data Layer highlighting based on editor selection
- Added Data Layer / Actor filtering based on editor selection
#jira UE-135846
#jira UE-135848
#rb patrick.enfedaque
#preflight 619fb87647752856c9ab1b76

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 18296131 in //UE5/Release-5.0/... via CL 18296191
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18296199 by richard malo in ue5-release-engine-test branch]
2021-11-25 13:51:47 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
jeanfrancois dube
5121ba36bf Minor optimization in data layers slate dialog display when in PIE.
#rb richard.malo
#preflight none

#ROBOMERGE-SOURCE: CL 17391138 via CL 17391820
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17391845 by jeanfrancois dube in ue5-release-engine-test branch]
2021-09-01 16:06:57 -04:00
richard malo
9a4289de40 - Changed Data Layer Visibility to be transient
- Added Data Layer bIsInitiallyVisible persistent flag to control Data Layer visibility flag initial value when loading map
- Fixed bug when changing map, Data Layer visibility was not properly reflected on actors
- Better Data Layer properties categorisation (Runtime vs Editor)
- Changing Data Layer IsDynamicallyLoaded flag is now only possible in its Details view
- Allow IsDynamicallyLoadedInEditor for any type of Data Layer
#rb jeanfrancois.dube, patrick.enfedaque

#ROBOMERGE-SOURCE: CL 15728575 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15728630 by richard malo in ue5-main branch]
2021-03-17 15:17:35 -04:00
Patrick Enfedaque
ddcc546de8 WorldPartition: Query runtime streaming state support through the WorldPartitionSubsystem + expose Loaded target state to DataLayers + StreamingSource
- This will allow prefetching of streaming cells without activating them (making visible)
- Ability to query the state of WorldPartition streaming at a specific location/radius/for specific data layers/etc

#rb richard.malo

#ROBOMERGE-OWNER: Patrick.Enfedaque
#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 15719768 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15724577 by Patrick Enfedaque in ue5-main branch]
2021-03-17 11:14:06 -04:00
jeanfrancois dube
92e77616c2 Data Layers
- Added the concept of locked layers, which can be set to prevent the user to add or remove actors from the list, and also prevent deleting or renaming the layer. Users can't create locked data layers, only meant to be created by custom code to group actors together. The first use case will be procedural generation, to easily gather previous generation actors from actor descriptors.
- Make sure we always have a world data layer actors when converting a map wo world partition or when loading a partiioned world.

#rb richard.malo

#ROBOMERGE-SOURCE: CL 15365612 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15368892 by jeanfrancois dube in ue5-main branch]
2021-02-09 15:01:37 -04:00
Richard Malo
c44d1fce40 When running in PIE show which runtime data layers are active in the DataLayer outliner.
#rb jeanfrancois.dube

[CL 15238872 by Richard Malo in ue5-main branch]
2021-01-28 11:19:30 -04:00
Richard Malo
9543ea378e DataLayers: Exposed most of DataLayerEditorSubsystem functionality to Blueprint and cleaned/removed redundant functions from API.
#rb patrick.enfedaque

[CL 14844719 by Richard Malo in ue5-main branch]
2020-12-03 12:41:42 -04:00
Richard Malo
79c6a43a7a Removed redundant call when renaming DataLayer label in browser.
#rb jeanfrancois.dube

[CL 14646581 by Richard Malo in ue5-main branch]
2020-11-03 17:15:59 -04:00
Richard Malo
a961c2338b Added DataLayer browser & editing.
#rb jeanfrancois.dube, patrick.enfedaque

[CL 14597717 by Richard Malo in ue5-main branch]
2020-10-28 06:51:40 -04:00