Commit Graph

41 Commits

Author SHA1 Message Date
Richard Malo
223c790fef ActorFolder Improvements :
- Optimized FFolder resolving to UActorFolder : now uses and maintains an acceleration table
- Favor creation of FFolder using ActorFolderGuid when available
- FFolder creation now always passes a Root Object to facilitate Root Object ptr resolving (even when it's the main world)
- Fixed Duplicate Hierarchy when using Actor Folders and target level is different
- Fixed copy/paste actor from Persistent to LevelInstance not loosing actor folder
- Fixed mark for delete of an Actor Folder that could generate duplicates
- Modified fix of duplicate Actor Folders in a level : instead of renaming duplicates, mark for delete all duplicates except one and redirect children to the one we keep

#jira UE-150566
#rb patrick.enfedaque, jeanfrancois.dube
#preflight 6284101f486700b561a555ff

[CL 20346124 by Richard Malo in ue5-main branch]
2022-05-24 06:58:06 -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
Patrick Enfedaque
73f3cb29a4 LevelInstance: Extract ILevelInstanceInterface, FLevelInstanceActorImpl from ALevelInstance to allow LevelInstance implementation in existing AActor class hierarchies
#rb richard.malo, jeanfrancois.dube
#preflight 62420c81dc6183e3f5d47b90
#rnx

[CL 19541016 by Patrick Enfedaque in ue5-main branch]
2022-03-29 09:19:22 -04:00
marc audy
c3bbae8682 #jira UE-143721
SceneOutliner - Unloaded LandscapeProxy actors are now placed under their associated Landscape

* FWorldPartitionActorDesc now has a GetSceneOutlinerParent() virtual which is used to build the actor hierarchy of the SceneOutliner
* FLandscapeActorDesc overrides GetSceneOutlinerParent() to return the Landscape guid as it's parent

Resaved all LandscapeProxies in the OpenWorld template map

#rb patrick.enfedaque, jeanfrancois.dube
#preflight 62191950f014007cf8b82a5e

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 19152459 in //UE5/Release-5.0/... via CL 19157182
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161144 by marc audy in ue5-main branch]
2022-02-25 19:35:57 -05:00
jeanfrancois dube
40db00b21e World Partition: cleanup scene outliner code handling actor descriptors following 18564793.
#rb patrick.enfedaque
#preflight 61def93e6a076ddb53e95c61

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18587123 in //UE5/Release-5.0/... via CL 18587136 via CL 18587153
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18587182 by jeanfrancois dube in ue5-main branch]
2022-01-12 13:39:39 -05:00
patrick enfedaque
ff36d54c11 SceneOutliner: refactor FindParent/CreateParentItem into one method (shared logic)
#rb richard.malo
#preflight 61dc4bd0c73b7e46b2944a5b

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18559674 in //UE5/Release-5.0/... via CL 18559687
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18559703 by patrick enfedaque in ue5-release-engine-test branch]
2022-01-10 10:14:29 -05:00
richard malo
481f65fe16 New Actor Folders objects.
- When enabled, folders are actual objects : modifying a folder won't affect actors (more compliant with OFPA).
- Enabled by default for World Partition and Level Instances.
- Can be enabled on regular levels (experimental feature 'Use Actor Folder Objects').
- If Level uses OFPA, ActorFolders will also be saved in their own package (but will use __ExternalObjects__ root folder).
- In a future refactoring, external actors will also be moved in the same root folder.
- Generalized saving object in an external package (different from its outer package)
- World outliner supports old folders and new actor folder objects : Levels using the actor folder objects will show a root Level node (like Level Instances).
#rb patrick.enfedaque, jeanfrancois.dube
#preflight 61d84b356511bc498e5cb858

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 18543443 in //UE5/Release-5.0/... via CL 18543482
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18543525 by richard malo in ue5-release-engine-test branch]
2022-01-07 10:01:19 -05:00
richard malo
41b81f0c91 Added support for Level Instances to have a folder hierarchy in the World Outliner. Actor Folders can now have a root object which serves as a context for folder hierarchy.
#jira UE-134605
#rb patrick.enfedaque
#preflight 619d3a42cb49ea94934aa11d

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

[CL 18273700 by richard malo in ue5-release-engine-test branch]
2021-11-23 14:43:39 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
yoan stamant
a656c465ce misc non-unity compilation fixes
#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 17679436 in //UE5/Release-5.0/... via CL 17685191
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v875-17642767)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17685208 by yoan stamant in ue5-release-engine-test branch]
2021-09-30 19:41:43 -04:00
patrick enfedaque
9d0ba4f06f WorldPartition: ActorHierarchy / DataLayerHierarchy listen to IWorldPartitionEditorModule::OnWorldPartitionCreated event to handle a full refresh (SaveAs prep work)
#preflight 6149c6036c96990001ae282d
#rb richard.malo, jeanfrancois.dube

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 17581522 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17581529 by patrick enfedaque in ue5-release-engine-test branch]
2021-09-21 08:40:15 -04:00
patrick boutot
511cbb2b09 Update SceneOutliner to support that no world is available.
#jira UE-120025
#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 16925420 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16925452 by patrick boutot in ue5-release-engine-test branch]
2021-07-22 12:13:42 -04:00
patrick boutot
c5a63cffb8 Fix component picker. Only show the actors that have a valid component.
#rb roey.borsteinas
#preflight 60f04f52ef22fa0001c73e94

#ROBOMERGE-SOURCE: CL 16863725 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16863743 by patrick boutot in ue5-release-engine-test branch]
2021-07-15 12:33:03 -04:00
roey borsteinas
4f0fa2433e World Outliner: Fixed issue with deleted actors showing up as unloaded actors.
#rb jeanfrancois.dube
#preflight 60bf840efcc6ea00016f5c81


#ROBOMERGE-SOURCE: CL 16587827
#ROBOMERGE-BOT: (v828-16531559)

[CL 16587830 by roey borsteinas in ue5-main branch]
2021-06-08 11:31:22 -04:00
aurel cordonnier
4c1f424cec no unity fixes
#rb jeanfrancois.dube

[CL 16389788 by aurel cordonnier in ue5-main branch]
2021-05-19 14:05:12 -04:00
Sebastien Lussier
785ee92fee DerivedDataCacheCommandlet - Ensure all WP actors are processed
* Moved world setup from commandlet code to UWorldPartitionBuilder::RunBuilder()
* Moved actor iteration logic (reference loading + GC) from UWorldPartitionResaveActorsBuilder::RunInternal() to WorldPartition::ForEachActorWithLoading()
* Adjusted DerivedDataCacheCommandlet to (potentially) iterate on WP actors using UWorldPartitionActorsBuilder::ForEachActorWithLoading()
* Much faster processing of packages with no assets to cache (most ExternalActors packages)
#jira UE-114260
#rb patrick.enfedaque, jeanfrancois.dube

[CL 16157420 by Sebastien Lussier in ue5-main branch]
2021-04-29 10:57:07 -04:00
sebastien lussier
58280e2f50 Added public WorldPartition events for adding and removing actor descs
#rb patrick.enfedaque, jeanfrancois.dube
#jira UE-113039
#lockdown simon.tourangeau

#ROBOMERGE-OWNER: sebastien.lussier
#ROBOMERGE-AUTHOR: roey.borsteinas
#ROBOMERGE-SOURCE: CL 15945124 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15949972 by sebastien lussier in ue5-main branch]
2021-04-07 22:10:55 -04:00
roey borsteinas
647e60cb37 SceneOutliner: Fixed crash caused by deleted unloaded actor descs.
#rb patrick.enfedaque
#jira UE-113037
#lockdown simon.tourangeau

#ROBOMERGE-SOURCE: CL 15942630 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)

[CL 15945050 by roey borsteinas in ue5-main branch]
2021-04-07 15:33:55 -04:00
roey borsteinas
106e08fed3 SceneOutliner: Fixed an issue where an actor tree item and an actor desc tree item appear at the same time for the same actor.
#rb jeanfrancois.dube

#ROBOMERGE-SOURCE: CL 15863325 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15863338 by roey borsteinas in ue5-main branch]
2021-03-30 12:01:08 -04:00
roey borsteinas
94cd1c71eb SceneOutliner: Hide unloaded actors in non-World Outliner contexts
#preflight 605261ab07d2c10001cfdeca

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

[CL 15730502 by roey borsteinas in ue5-main branch]
2021-03-17 17:02:30 -04:00
roey borsteinas
28aa639b9f SceneOutliner: Resubmitting change to show unloaded actor descs in the outliner.
#rb patrick.enfedaque, jeanfrancois.dube

#ROBOMERGE-SOURCE: CL 15666971 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15667000 by roey borsteinas in ue5-main branch]
2021-03-10 12:35:33 -04:00
patrick enfedaque
d57383ce83 SceneOutliner: GetSceneOutlinerParent discarded if it's hidden in Outliner
#rb trivial

#ROBOMERGE-SOURCE: CL 15658504 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15658528 by patrick enfedaque in ue5-main branch]
2021-03-09 15:58:17 -04:00
patrick enfedaque
ac4983add0 Landscape: Fix cases where LandscapeStreamingProxy SceneOutliner parent wasn't properly set (parented to World instead of Landscape)
#rb roey.borsteinas

#ROBOMERGE-SOURCE: CL 15656849 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15656916 by patrick enfedaque in ue5-main branch]
2021-03-09 14:39:19 -04:00
jeanfrancois dube
33c8fe1da0 Backout 15629005.
#rb none
[FYI] roey.borsteinas

#ROBOMERGE-SOURCE: CL 15649635 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15649648 by jeanfrancois dube in ue5-main branch]
2021-03-08 21:17:04 -04:00
roey borsteinas
2a753d070c SceneOutliner: Show unloaded world partition actors in the outliner
#rb jeanfrancois.dube

#ROBOMERGE-SOURCE: CL 15629005 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15629009 by roey borsteinas in ue5-main branch]
2021-03-05 16:34:58 -04:00