Commit Graph

168 Commits

Author SHA1 Message Date
patrick enfedaque
3348e07dcf LevelInstance: Fix Skipped actor descs being displayed in outliner since CL 24422197
#rb richard.malo, sebastien.lussier
#preflight 640791f7aa00423335532974
#rnx

[CL 24560412 by patrick enfedaque in ue5-main branch]
2023-03-08 10:55:55 -05:00
patrick enfedaque
4217ec9c76 DataLayer Outliner: Fix WorldDataLayer item not being displayed when World doesn't yet have DL Instances
#rb richard.malo
#preflight 6406408bde14c9e34b8cd5e1

[CL 24538778 by patrick enfedaque in ue5-main branch]
2023-03-07 08:19:49 -05:00
jeanfrancois dube
b448744e87 Templated FWorldPartitionHelpers::GetWorldPartition so it's inlined and not recursive.
#rb richard.malo
#preflight 63ffe80fe32cdb7d9aee32c1

[CL 24484233 by jeanfrancois dube in ue5-main branch]
2023-03-02 12:12:52 -05:00
richard malo
6583fa5db3 Allow editing data layers of level instance when editing the level instance
- 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]
2023-02-28 08:35:38 -05:00
philippe deseve
6df56def9a UDataLayerInstance can be outered to a Uobject other than AWorldDataLayers
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]
2023-02-21 13:26:58 -05:00
jeanfrancois dube
d298c880cf World Partition Editor Loading: added custom loading adapters filtering and moved all Data Layers specific code into Data Layer subsystem, using the new filtering function.
#rb patrick.enfedaque, richard.malo
#preflight 63f38efae832ea950a72a121

[CL 24322910 by jeanfrancois dube in ue5-main branch]
2023-02-20 15:38:05 -05:00
richard malo
cb32fe9838 Fixed crash when opening data layer menu after closing/reopening the data layer outliner
#rb patrick.enfedaque
#jira UE-177265
#preflight 63ee6f0c1d71bcd2627afc53

[CL 24267984 by richard malo in ue5-main branch]
2023-02-16 15:59:16 -05:00
richard malo
1f05a96ddf Properly hook Data Layers menu extenders and pass selection to delegate.
#rb patrick.enfedaque
#preflight 63dbe5b8797b029c0adbbdfa

[CL 23984017 by richard malo in ue5-main branch]
2023-02-02 18:41:35 -05:00
richard malo
047bfb94b7 - Added UDataLayerManager which is local to each WorldPartition.
- 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]
2023-01-31 17:03:25 -05:00
Patrick Enfedaque
5a569ba2d8 Redo CL 23850205:
- 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]
2023-01-26 15:05:37 -05:00
jeanfrancois dube
88e3c64d55 Data Layers: don't allow user changes for non-user managed actor types.
#rb richard.malo
#preflight none

[CL 23866536 by jeanfrancois dube in ue5-main branch]
2023-01-26 08:24:51 -05:00
richard malo
0038a91e7f Fixed static analysis dereferencing null pointer in DataLayerHierarchy.cpp
#rb trivial

[CL 23673013 by richard malo in ue5-main branch]
2023-01-12 20:51:03 -05:00
richard malo
eeb4d65df4 Show child actors of child level instances even when editing a level instance
#rb patrick.enfedaque

[CL 23666583 by richard malo in ue5-main branch]
2023-01-12 13:42:23 -05:00
richard malo
c4e4345fdd When showing actors and level instance content in the Data Layer outliner, could not interact with level instance part of a data layer.
#rb patrick.enfedaque

[CL 23662401 by richard malo in ue5-main branch]
2023-01-12 09:37:48 -05:00
richard malo
70eb72d61d Missing DATALAYEREDITOR_API on FDataLayerCreationParameters.
#rb jeanfrancois.dube

[CL 23531377 by richard malo in ue5-main branch]
2022-12-15 15:56:20 -05:00
JeanMichel Dignard
5fc36285ba Fixed typos reported by localization
#jira UE-170395
#rb none
#preflight 63939b065c5308d18c4adbab

[CL 23468692 by JeanMichel Dignard in ue5-main branch]
2022-12-09 15:54:23 -05:00
richard malo
e803576ee7 Removed "Rename Data Layer" menu entry in Data Layer Outliner for maps using Data Layer Assets.
#rb philippe.deseve

[CL 23260954 by richard malo in ue5-main branch]
2022-11-24 12:32:40 -05:00
richard malo
c4d6f9fc92 Added "Browse to asset" on Data Layer items in Data Layer Outliner.
#rb patrick.enfedaque

[CL 23228062 by richard malo in ue5-main branch]
2022-11-21 17:19:31 -05:00
henrik karlsson
b5164ac775 Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
Change consist of only forward declaration and additional includes

#preflight 63789c1de30d438849c48188
#rb none

[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00
richard malo
2285828738 Data Layer outliner QoL : Removed Data Layer AccentBlue color for Data Layers used by actor selection (kept bold font) so that current editing Data Layers always keep their green color.
#rb jeanfrancois.dube

[CL 23203567 by richard malo in ue5-main branch]
2022-11-18 15:32:17 -05:00
richard malo
f917de9698 Data Layer outliner double click on Data Layers now adds or removes the Data Layer to/from the editing context (same behavior as Content Bundle outliner).
#rb jeanfrancois.dube

[CL 23203560 by richard malo in ue5-main branch]
2022-11-18 15:32:06 -05:00
richard malo
b17431befd Fixed crashes when exiting the editor using "-execcmds=QUIT_EDITOR" (only happens is ContentBundle outliner and/or DataLayer Outliner are spawned)
#rb jeanfrancois.dube
#preflight 6377a5dc2a05dabce93a911e

[CL 23197153 by richard malo in ue5-main branch]
2022-11-18 12:03:41 -05:00
jeanfrancois dube
aea4ed6f3f fix file indentation
#rb none
#preflight none
#rnx

[CL 23025412 by jeanfrancois dube in ue5-main branch]
2022-11-08 04:27:23 -05:00
richard malo
0556e56be5 Fixed check when using "Make Current Data Layer" after deleting a Data Layer in the outliner.
#rb patrick.enfedaque
#jira UE-168651
#preflight 635c0ce5052cb0bae6a5c9bc

[CL 22837504 by richard malo in ue5-main branch]
2022-10-28 16:41:09 -04:00
philippe deseve
3916a86dd0 Data Layer Assets can now be dropped on DataLayerInstances and WorldDataLayers to create new instances
#rb richard.malo
#jira UE-156928
#preflight 635819307f1726c29e513de4

#ushell-cherrypick of 22754040 by Philippe.DeSeve

[CL 22793129 by philippe deseve in ue5-main branch]
2022-10-26 17:33:05 -04:00