Commit Graph

30 Commits

Author SHA1 Message Date
aditya ravichandran
384abaa782 Outliner: Move the drag and drop code from FActorBrowsingMode to FActorMode
TEDS: Add a selectionset member to the selection column
#jira UE-194573
#rb brooke.hubert, semion.piskarev

[CL 27887676 by aditya ravichandran in ue5-main branch]
2023-09-14 14:12:43 -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
jeanfrancois dube
ca323e9920 Scene Outliner: don't sort unloaded actors at the end of the list to avoid messy behavior when changing the loaded state of an actor.
#rb richard.malo
#preflight 641af921691c5ebc153fcb51

[CL 24778066 by jeanfrancois dube in ue5-main branch]
2023-03-24 08:26:31 -04:00
patrick enfedaque
372d0e046e Level Instance Pivot Picker:
- Preview picker location when changing it from the details panel
- Use Actor Picker which isn't restricted to the Level Instance actors

#jira UE-174434
#rb richard.malo
#preflight 63cfe5fb976daa618c996b60

[CL 23831919 by patrick enfedaque in ue5-main branch]
2023-01-24 11:24:47 -05:00
aditya ravichandran
19ef558825 Outliner: FActorMode and SceneOutlinerModule now both query the Level Editor to pick the correct world based on context, preferring PIE over Editor worlds
#rb Brooke.Hubert
#preflight 63cab7cd4601e7c4d9e1e7d8

[CL 23791387 by aditya ravichandran in ue5-main branch]
2023-01-20 11:41:30 -05:00
jeanfrancois dube
0246da6a05 World Partition:
- Optimize dirty actors detection by using dirty actors list maintained by world partition instead of using an actor iterator.
- Maintain a list of selected actor descriptors to be able to show selected ones in the world partition editor.
- Fixed selected actors labels not faded.

#rb richard.malo
#preflight 6368fb5c8f7eab44b6652a27
#rnx

[CL 23019368 by jeanfrancois dube in ue5-main branch]
2022-11-07 17:20:27 -05:00
tom noonan
1b48ee55d7 Add a cvar to override the preferred representing world chosen by the scene outliner when the 'Auto' option is selected based off of the world's net mode.
[REVIEW] [at]jonathan.bunner, [at]jp.flouret, [at]matt.breindel, [at]tim.tillotson
#preflight 6322d0088c478acecf0c11c5

[CL 22032949 by tom noonan in ue5-main branch]
2022-09-15 13:50:05 -04:00
ryan bickell
dd51ba8757 SceneOutliner: Hide empty folders option.
#rb jeanfrancois.dube
#jira none
#preflight 62ab03fdda0af39a47843da0

[CL 20686047 by ryan bickell in ue5-main branch]
2022-06-16 09:17:55 -04:00
Richard Malo
248a7aae42 Fixed issue caused by different actor folders coming from different level instances (but with the same resulting path) added to the same runtime level and generating duplicate folders.
Disable actor folder feature on generated runtime levels (for PIE), since there's no lost functionality.
#rb patrick.enfedaque, jeanfrancois.dube
#okfrogithub public
#preflight 629e4279ed5182784232b730

[CL 20526345 by Richard Malo in ue5-main branch]
2022-06-06 15:44:45 -04:00
Max Chen
79ff7889f1 Scene Outliner: Remove forcibly showing actors with the SequencerActor tag. Spawnables are still shown in the World Outliner still because they are RF_Transient and the World Outliner is also by default set to show transient actors.
This fixes an issue where in an actor picker menu, you could pick a spawnable actor and it's not desirable to make that reference to a transient actor.

If you need to reference a spawnable from sequencer, you need to make an explicit actor reference property track and choose the actor from the picker in the track. You will no longer be able to pick a spwanble from the details panel for genuine operations such as autokeying a property that already has an actor reference track. You will need to choose it from the picker in the track.

#jira UE-105422
#preflight 6291afc6bc1213abd7fc579b
#rb andrew.rodham

[CL 20487934 by Max Chen in ue5-main branch]
2022-06-03 12:21:13 -04:00
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
aditya ravichandran
632ef3784e Outliner:
Port ActorBrowsingMode over to the new Editor Config system to have separate settings for each outliner
Enable Stacked Hierarchy Headers by default
Add the ability to disable framing selection
Add the ability to get the most recently used outliner from the level editor
Fix a bug where renaming an item on one outliner would sometimes execute the rename on a different outliner

#rb richard.malo
#jira UETOOL-5014
#preflight 627aa9811e74993343331221

[CL 20126651 by aditya ravichandran in ue5-main branch]
2022-05-10 14:20:42 -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
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
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
jeanfrancois dube
2768e94db6 Fix crash when refreshing world outliner.
#rb roey borsteinas
#preflight none

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

[CL 17214538 by jeanfrancois dube in ue5-release-engine-test branch]
2021-08-18 10:18:25 -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
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
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
michael noland
8c28dcc766 Fix an issue in scene outliner world selection logic where it incorrectly assumes which PIE instance ID the first client is (reimplementation of UE-107043 from UE4)
#jira UE-107044

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

[CL 15589563 by michael noland in ue5-main branch]
2021-03-03 19:39:53 -04:00
Richard Malo
edd8aa62cb - Use same actor filter as World Outliner in Data Layer outliner.
- Data Layer property type customization now relies on ProperyHandle IsEditable to be enabled
#rb patrick.enfedaque

[CL 15184452 by Richard Malo in ue5-main branch]
2021-01-25 16:15:52 -04:00
JeanFrancois Dube
7afbb55fcb Fix memory stomp when destroying FDataLayerHierarchy accessing dangling pointer FDataLayerMode.
Also some code cleanup for ISceneOutlinerHierarchy destruction.

#rb richard.malo, roey.borsteinas

[CL 14888198 by JeanFrancois Dube in ue5-main branch]
2020-12-09 10:32:05 -04:00