Commit Graph

30 Commits

Author SHA1 Message Date
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
philippe deseve
ed0f48629d DataLayer API to go through DataLayerSubsystem instead of AWorlDataLayers
Move DataLayers' EditorWorldSetting logic from DataLayerEditorSubsystem & WorldDataLayers to DataLayerSubsystem
Use DataLayerInstance::GetOuterWorldDataLayers instead of retrieving the WorldDataLayers from UWorld::GetWorldDataLayers instead
Rename UDataLayerSubsystem::GetDataLayerFromAsset to GetDataLayerInstanceFromAsset to be inline with the rest of the API
Preparation for multiple AWorldDataLayers existing in the same world

#rb richard.malo
#test PIE, SIE, -game, Editing flow, cooked game, Hlods generation
#preflight 627402a0ca0ad32a968422af

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 20060072 via CL 20060595 via CL 20060607
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20062765 by philippe deseve in ue5-main branch]
2022-05-05 15:15:33 -04:00
philippe deseve
d05121f9b1 Undo 19721428
Access to WorldSubsystems at cook time are causing crashes

#rb richard.malo
#jira UE-148953 UE-148946
#preflight 62572be3d606fd159e9e67e0

#ROBOMERGE-OWNER: zousar.shaker
#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-COMMAND: _robomerge[bot4] UE5-MAIN
#ROBOMERGE-SOURCE: CL 19745482 via CL 19747379 via CL 19747391
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19751374 by philippe deseve in ue5-main branch]
2022-04-14 00:26:55 -04:00
Philippe DeSeve
d7fd705427 Move DataLayerInstanceName resolving to UDataLayerSubsystem from UDataLayerEditorSubsystem.
UDataLayerEditorSubsystem is not initialized when lauching with "-game"

#rb richard.malo
#preflight 6256dfab2b4502493e794c9c

[CL 19739997 by Philippe DeSeve in ue5-main branch]
2022-04-13 10:51:55 -04:00
philippe deseve
83be8e37a1 DataLayer API to go through DataLayerSubsystem instead of AWorlDataLayers
Move DataLayers' EditorWorldSetting logic from DataLayerEditorSubsystem & WorldDataLayers to DataLayerSubsystem
Use DataLayerInstance::GetOuterWorldDataLayers instead of retrieving the WorldDataLayers from UWorld::GetWorldDataLayers instead
Rename UDataLayerSubsystem::GetDataLayerFromAsset to GetDataLayerInstanceFromAsset to be inline with the rest of the API
Preparation for multiple AWorldDataLayers existing in the same world

#rb richard.malo
#preflight 6255924fcd5ed4dd0916d8e5

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 19721428 via CL 19721841 via CL 19722491
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19725557 by philippe deseve in ue5-main branch]
2022-04-12 14:08:25 -04:00
JeanFrancois Dube
678fba0c18 Data Layers: added engine bridge for editor callbacks.
#rb richard.malo
#preflight 624b0800927e60e341952989
#rnx

[CL 19613276 by JeanFrancois Dube in ue5-main branch]
2022-04-04 15:00:42 -04:00
richard malo
0a2a437037 Changed SelectedDataLayersFromEditorSelection to be rebuilt only when necessary.
#rb jeanfrancois.dube
#preflight 624ae8b1e434babd8a3060b0

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 19608028 via CL 19608074 via CL 19608126
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19609192 by richard malo in ue5-main branch]
2022-04-04 10:57:17 -04:00
philippe deseve
ddc4fd70e3 AWorldDataLayers::Create no longer sets the UWorld::WorldDataLayers.
Pass an optional name to AWorldDataLayer::Create
Remove UDataLayerEditorSubsystem::GetWorldDataLayers(bool). UWorld::WorldDataLayers are always created now.
Preparation for multiple AWorldDataLayers within a single world

#rb richard.malo
#preflight 624702e8927e60e34176d184

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 19587841 via CL 19587883 via CL 19587899
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19589001 by philippe deseve in ue5-main branch]
2022-04-01 11:15:33 -04:00
philippe deseve
b2968e4272 Fix uninitialized properties warning message
#rb none

#ROBOMERGE-OWNER: eric.mcdaniel
#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-COMMAND: _robomerge[bot4] UE5-MAIN
#ROBOMERGE-SOURCE: CL 19580024 via CL 19580027 via CL 19580032
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19580229 by philippe deseve in ue5-main branch]
2022-03-31 18:34:11 -04:00
philippe deseve
8693be32cb Added a FDataLayerCreationParameters struct to supply data layer instance creation with more parameters
CreateDataLayer is now deprecated and CreateDataLayerInstance should be used
Move Data Layer Asset selection code from DataLayerEditorSubsystem to DataLayerMode

#rb richard.malo
#preflight 62460e139f40423414647139

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 19578153 via CL 19578237 via CL 19578261
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19579567 by philippe deseve in ue5-main branch]
2022-03-31 17:43:23 -04:00
richard malo
4103a6c827 - WorldPartition ActorDesc full support for actors referencing Data Layer Assets
- Fixed changelist validation on DataLayers using new WorldDataLayersActorDesc
#rb philippe.deseve, jeanfrancois.dube
#preflight 623b33e7db0f61c7926e7df8

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 19480678 via CL 19481445 via CL 19481573
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19484037 by richard malo in ue5-main branch]
2022-03-23 15:55:02 -04:00
philippe deseve
1f70b180ea Give a clearer title to the dialog opened when creating a Data Layer Instance
" Pick Data Layer Asset" dialog now remmembers the last path where a data layer was picked

#rb richard.malo
#preflight 6231ec3d8a603798938ed041

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

[CL 19407000 by philippe deseve in ue5-main branch]
2022-03-16 12:13:31 -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
philippe deseve
5d395ced05 Undo changelist 18658885
Removes reference to DataLayerInstance and DataLayerAssets in code

#rb none
#preflight 61f985db4b0bc1c41763beec

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 18814886 in //UE5/Release-5.0/... via CL 18814907 via CL 18822785
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824315 by philippe deseve in ue5-main branch]
2022-02-02 07:37:06 -05:00
philippe deseve
76a7d025fd UDataLayer data is split between UDataLayerAsset & UDataLayerInstance (change 1/2)
Underlying system still work with UDataLayer, deprecation of UDataLayer coming in a second CL.
UDataLayerAsset contains non-world specific data
UDataLayer Instance contains world-specifc data and referes a UDataLAsset
Actors refers UDataLayerAssets
AWorldDataLayers refers UDataLayerInstances
Use a Commandlet to convert existing UDataLayer to UDataInstance + UDataLayerAsset
Added a map to WorldDataLayers to allow retrieving a DataLayerAsset from the UDataLayer FName it was converted from (blueprint deprecation).

rb richard.malo jeanfrancois.dube
#preflight 61e832053778a195dee6eefe

#ROBOMERGE-AUTHOR: philippe.deseve
#ROBOMERGE-SOURCE: CL 18658885 in //UE5/Release-5.0/... via CL 18658892 via CL 18658905
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18658919 by philippe deseve in ue5-main branch]
2022-01-19 11:06:39 -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
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -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
e63971ea7a World Partrition: only include cells which loaded state was changed by a user operations in the last loaded cells.
#rb richard.malo
#preflight 61239a3976f1fd0001047156

#ROBOMERGE-SOURCE: CL 17265467 via CL 17273198
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v858-17259218)

[CL 17274301 by jeanfrancois dube in ue5-release-engine-test branch]
2021-08-23 15:23:03 -04:00
jeanfrancois dube
5de806e695 Only include changes made by user operations to the per-user settings for data layers.
#rb vincent.beauchemin
#preflight 6113d882f19b370001e9817b

#ROBOMERGE-SOURCE: CL 17138927 via CL 17139635
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17139727 by jeanfrancois dube in ue5-release-engine-test branch]
2021-08-11 14:31:49 -04:00
richard malo
b263b8ef51 Added BP functions in UDataLayerEditorSubsystem to clear actor's DataLayers.
#rb patrick.enfedaque
[FYI] yafes.sahin
#preflight 6102fd29b4288d0001ec7600

#ROBOMERGE-SOURCE: CL 17000406 via CL 17000411
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 17000413 by richard malo in ue5-release-engine-test branch]
2021-07-29 16:02:23 -04:00
patrick enfedaque
b199198597 DataLayer: Allow default editor load state to be unloaded + Resetting user settings
#rb richard.malo

#ROBOMERGE-SOURCE: CL 16645420 via CL 16645445
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16645453 by patrick enfedaque in ue5-release-engine-test branch]
2021-06-11 15:21:57 -04:00
Richard Malo
f1631f8055 Added DataLayerEditorContext and use it to allow automatic creation of Instanced Foliage Actors associated with proper Data Layers (Foliage painting & PFV).
#rb patrick.enfedaque

[CL 15182830 by Richard Malo in ue5-main branch]
2021-01-25 15:12:14 -04:00
Tim Smith
9fdfe7cd7e Fixing PVS 7.7 Issues: warning V1052: Declaring virtual methods in a class marked as 'final' is pointless. Consider inspecting the 'XYZ' method of the 'FXYZ' class.
#rb trivial
#jira UE-91644

[CL 14994253 by Tim Smith in ue5-main branch]
2021-01-05 15:39:12 -04:00