Commit Graph

89 Commits

Author SHA1 Message Date
richard malo
a0a3a803c2 Don't allow to reparent a Data Layer part of an EDL hierarchy if the new parent is not part of the same EDL hierarchy.
#jira UE-218945
#rb JeanFrancois.Dube

[CL 34734899 by richard malo in ue5-main branch]
2024-06-28 07:49:02 -04:00
vincent beauchemin
30349cf34f Changed Pin/Unpin (user facing) to ForceLoad/ReleaseForceLoad in Data Layer Outliner
#rb Richard.Malo
#tests Context menu in Data Layer Outliner
#jira UE-215453
[FYI] JeanSebastien.Guay

[CL 34132986 by vincent beauchemin in ue5-main branch]
2024-06-05 14:17:46 -04:00
richard malo
5826192b5a Fixed Data Layer outliner not refreshed when starting PIE client with the option 'Run under one process' disabled.
#rb JeanFrancois.Dube

[CL 32970324 by richard malo in ue5-main branch]
2024-04-15 09:16:36 -04:00
richard malo
fed3613959 Added UDataLayerEditorSubsystem::SetParentDataLayerForDataLayers to optimize case where multiple data layer instances are moved under a parent data layer instance.
#rb JeanFrancois.Dube

[CL 32969216 by richard malo in ue5-main branch]
2024-04-15 08:01:28 -04:00
richard malo
c0b7610373 Data Layer Outliner : Fixed drop text showing 'create' data layer instead of 'move' when appropriate.
#rb JeanFrancois.Dube

[CL 32362305 by richard malo in ue5-main branch]
2024-03-20 08:07:32 -04:00
richard malo
679525caae Exposed DataLayerInstance filter in FDataLayerPropertyTypeCustomizationHelper::CreateDataLayerMenu (for future use)
Fixed FOnShouldFilterDataLayerInstance so that true actually filters the Data Layer instance (implementation and test were inverted which was confusing).
#rb JeanFrancois.Dube

[CL 32156169 by richard malo in ue5-main branch]
2024-03-11 11:38:41 -04:00
richard malo
c96ad42249 Allow Editor Data Layers to be created under External Data Layers.
#rb JeanFrancois.Dube

[CL 31801284 by richard malo in ue5-main branch]
2024-02-26 08:26:51 -05:00
richard malo
3ed8bdf5c0 Create New Data Layer With Asset now filters and show only allowed Data Layer Assets
#rb JeanFrancois.Dube

[CL 31775653 by richard malo in ue5-main branch]
2024-02-23 15:55:19 -05:00
richard malo
f759f0bcad Added menu option "Browse to Plugin Asset" for Data Layer instances referencing an External Data Layer asset.
#rb JeanFrancois.Dube

[CL 31762124 by richard malo in ue5-main branch]
2024-02-23 09:32:35 -05:00
richard malo
47317d3460 Data Layer Outliner QoL
- Double click on unloaded actor selects and focus on the item in the outliner
- Added Pin/Unpin option on a Data Layer to allow pinning/unpinning all child actors
#rb JeanFrancois.Dube

[CL 31761037 by richard malo in ue5-main branch]
2024-02-23 08:42:17 -05:00
richard malo
7a66bb8cc7 - Fixed error reporting of unsupported child ClientOnly/ServerOnly data layers
- Fixed wrong message displayed for unsupported editor data layer child of a runtime parent data layer
#rb JeanFrancois.Dube

[CL 31693164 by richard malo in ue5-main branch]
2024-02-21 14:52:19 -05:00
richard malo
032e134c05 Fixed invalid test preventing creation of Data Layer Instances.
#rb jeanfrancois.dube

[CL 31195076 by richard malo in ue5-main branch]
2024-02-05 18:17:01 -05:00
richard malo
c539bd0b38 Fixed other Localization Text conflicts
#rb jeanfrancois.dube
#jira UE-205606

[CL 31088311 by richard malo in ue5-main branch]
2024-02-01 10:46:16 -05:00
richard malo
14620f45a3 External Data Layer V1
- Allows for plugins to inject/remove content (actors) in a partitioned world
- Serves as a replacement for the experimental 'Content Bundle' feature
- Added new External Data Layer (EDL) Asset
- Added new Game Feature Action 'AddWorldPartitionContent' to control activation of an EDL asset
- Supports Data Layers inside a plugin (child of an EDL)
- Added builder to convert content bundles to EDL (UGameFeatureActionConvertContentBundleWorldPartitionBuilder)
- Feature is temporarily disabled by default and can be turned on using Editor Experimental Settings 'Enable World Partition External Data Layers' flag
#jira UE-204248
#rb JeanFrancois.Dube, Patrick.Enfedaque, Sebastien.Lussier
#tests QAGame PIE/-game/cooked, Regression test PIE/cook of latest game map, Tested PIE/cook of latest game map converted to EDL

[CL 31015614 by richard malo in ue5-main branch]
2024-01-30 14:18:27 -05:00
jeanfrancois dube
f27a901623 Data Layers: when double-clicking on a data layer instance, only append to current state if control is down, otherwise only apply selected data layer instance.
#rb Richard.Malo
[FYI] jeansebastien.guay

[CL 30374661 by jeanfrancois dube in ue5-main branch]
2023-12-18 08:29:44 -05:00
patrick enfedaque
b7eaad89dc WorldPartition: Add UActorDescContainerInstance/FWorldPartitionActorDescInstance which take transient/context data from UActorDescContainer/FWorldPartitionActorDesc leaving them as pure on disk representations.
- UActorDescContainerInstance contains: Transform, ContainerID, InstancingContext
- FWorldPartitionActorDescInstance contains: ResolvedDataLayers, RefCounts, Remapped Instanced actor path, Actor loading code

#rb JeanFrancois.Dube, Richard.Malo, Sebastien.Lussier
#tests editor, cook, pie, hlod builder, level instance, internal projects

[CL 30260359 by patrick enfedaque in ue5-main branch]
2023-12-12 06:59:42 -05:00
richard malo
ff60d1b39b Fixed typo in menu option "Create New Data Layer With Asset" (DataLayer -> Data Layer)
#rb patrick.enfedaque

[CL 28630127 by richard malo in ue5-main branch]
2023-10-10 14:20:49 -04:00
richard malo
1edef6d895 Changed create new data layer menu to Changed create new data layer with asset (when not using deprecated data layers) which allows to create/choose an existing data layer asset and assign it to the newly created Data Layer Instance in one operation.
#rb patrick.enfedaque
#jira UE-195294

[CL 28550517 by richard malo in ue5-main branch]
2023-10-06 14:34:17 -04:00
richard malo
dcf113a2fb WorldPartition: Added option in WorldDataLayers actor to save each DataLayerInstances in their own file (disabled by default)
#rb patrick.enfedaque, jeanfrancois.dube
#jira UE-196867

[CL 28546065 by richard malo in ue5-main branch]
2023-10-06 13:03:20 -04:00
steve robb
51f3ea53ae Removed ChooseClass.h includes.
#rb trivial

[CL 27823723 by steve robb in ue5-main branch]
2023-09-13 05:43:01 -04:00
patrick enfedaque
f5d40f863d SceneOutliner: dissociate bShowTransient from showing Level Instance hierarchy
- Remove some redundant filters now that this is done
- ISceneOutlinerMode::InitializeViewMenuExtender allows extending the menu (use Extension hooks) instead of only adding through ISceneOutlinerMode::CreateViewContent

#rb richard.malo
#rnx

[CL 27559488 by patrick enfedaque in ue5-main branch]
2023-09-01 13:03:00 -04:00
richard malo
dd61b26132 Prevent assigning actor to private data layer not part of the same WorldDataLayers
#rb patrick.enfedaque
#jira UE-184478
#preflight 644baf9ef502608229e5fe83

[CL 25238952 by richard malo in ue5-main branch]
2023-04-28 16:01:13 -04:00
philippe deseve
3005ef7582 Non-user managed actors can no longer be added/removed to DataLayers via the DataLayerOutliner (similar to DragnDropOp)
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]
2023-04-11 11:30:47 -04:00
patrick enfedaque
3773a4f9ef DataLayer: Private DataLayer
- 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]
2023-03-28 12:23:16 -04:00
philippe deseve
a0b4da2047 Expand UDataLayerInstance interface in preparation for ExternalDataLayer.
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]
2023-03-26 15:44:07 -04:00