Removed DataLayerMode capture of this as it is not valid when the context menu is re-created
#rb richard.malo
[CL 24991903 by philippe deseve in ue5-main branch]
- Editor only DataLayer type that can be used for filters without having to create DataLayer asset
#rb richard.malo
#preflight 6422e1065e52099fe3ce0745
#rnx
[CL 24820907 by patrick enfedaque in ue5-main branch]
Allow DataLayerInstance to not support Parenting or being parented.
Allow preventing adding or removing actors from the DataLayerOutliner
Allow preventing adding DataLayerInstance to the actor editor context
Add UDataLayerInstance::IsUserManaged to define if the data layer creation/deletion is managed by the user.
#rb richard.malo
[CL 24797884 by philippe deseve in ue5-main branch]
- Renamed to ShortName to simplify
- Moved into FDataLayerUtils
- New code isn't deprecated as support for renaming private DLs will be added
- New code is independant from deprecated code 5.1/5.0 that can be removed once we update our internal projects (UE-176057)
#rb richard.malo, philippe.deseve
#preflight 64186fb65d3e25354ffddcf3
#rnx
[CL 24723930 by patrick enfedaque in ue5-main branch]
- When editing level instance, only show loaded/unloaded actors of this level
- When editing level instance, don't prefix actor label with parent level instance(s)
- Replaced import data layer menu option by drag and dropping level instance data layers into main world AWorldDataLayers
- Removed menu option "Create Data Layer under <other> DataLayer" as it will never be allowed for DataLayerInstanceWithAsset since created without any valid DataLayerAsset.
- Disabled changing visibility and editor loading of DataLayerInstances of editing level instance
- Allow editing data layer of level instance when editing the level instance even when main world is not partitioned
- Changed font from bold to bold+italic on DataLayerInstances containing actors part of editor selection
- Removed suffix "- WorldDataLayers" on parent node of DataLayerInstances in the DataLayer Outliner
- Colorize and append "(Current)" to WorldDataLayer of editing Level Instance in the DataLayer Outliner
- Support Make Current on Level instance DataLayerInstances when editing level instance
#rb patrick.enfedaque
#jira UE-178410
#jira UE-177386
#preflight 63f8f0f19009dd70d7b87224
[CL 24441128 by richard malo in ue5-main branch]
Provide GetWorldDataLayer to Replace GetAWorldDataLayers
UObject might not have a level in its outerchain.
UDataLayerInstance::GetTypedOuter overloaded so compilation fails if done on UWorld, ULevel or AWorldDataLayer
#rb richard.malo
[CL 24344188 by philippe deseve in ue5-main branch]
- This will allow instanced world partition maps to maintain their own Data Layer runtime states.
- Deprecated DataLayerSubsystem since DataLayerManager superseeds its functionality.
- Added helpers like UWorld::GetDataLayerManager and UWorldPartitionBlueprintLibrary::GetDataLayerManager which will automatically find the associated DataLayerManager for the object it's running the BP.
#rb jeanfrancois.dube, patrick.enfedaque, philippe.deseve
[CL 23938773 by richard malo in ue5-main branch]
- Make FSceneOutlinerTreeItemID taking FGuid constructor explicit to find issues where wrong ID was passed in
- Convert DataLayer tree items to use the FArchiveMD5
#rb richard.malo, jeanfrancois.dube
#preflight 63d2d10f3656ea96dc9131da
[CL 23873707 by Patrick Enfedaque in ue5-main branch]