Commit Graph

51 Commits

Author SHA1 Message Date
JeanFrancois Dube
ebba4df748 Scene Outliner: refactored actor pin API to be batched, so we can pin actors all at once instead of doing the operation one by one.
#rb patrick.enfedaque, richard.malo
#preflight 628faefee17a02240dd5dfe3
#rnx

[CL 20391677 by JeanFrancois Dube in ue5-main branch]
2022-05-27 07:18:07 -04:00
JeanFrancois Dube
5d51d7969f World Partition: greatly optimized pinning multiple actors by batching loading + tweaked slow task dialogs when loading actors in the editor.
#rb richard.malo
#preflight none
#rnx

[CL 20362868 by JeanFrancois Dube in ue5-main branch]
2022-05-25 08:26:08 -04:00
JeanFrancois Dube
23d5a67324 World Partition: made all slow task dialogs delayed and added a top scope when pinning an actor selection.
#rb richard.malo
#preflight none
#rnx

[CL 20362457 by JeanFrancois Dube in ue5-main branch]
2022-05-25 07:27:16 -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
JeanFrancois Dube
e35f6515b9 World Partition: fix unpinning an unloaded actor+ display better unloaded message when pinned actor is unloaded.
#rb patrick.enfedaque
#preflight 62878854132db639f5d2a540
#rnx

[CL 20293964 by JeanFrancois Dube in ue5-main branch]
2022-05-20 10:13:02 -04:00
JeanFrancois Dube
fee13f6b09 World Partition: don't allow pin actors for game worlds.
#rb patrick.enfedaque
#preflight 62864e10756fa8c9c85a5283
#rnx

[CL 20280602 by JeanFrancois Dube in ue5-main branch]
2022-05-19 10:51:44 -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
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
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -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
add5d1cfe6 Fixed double-click not expanding/collapsing Folder in the World Outliner.
#rb patrick.enfedaque
#preflight 6228abcb695c94f981ce9909
#jira none

[CL 19321864 by Richard Malo in ue5-main branch]
2022-03-09 12:06:15 -05:00
Richard Malo
296dd8a20c - Actor Editor Context : System can register themselves to the ActorEditorContextSubsystem and provide the necessary to apply their context value to newly created actors and optionally show a widget in the viewport.
- Refactored viewport's current level combobox and added "current data layers" in data layer outliner and "current folder" in world outliner to use this system.
- Can optionally be hidden from viewport using advanced flag in ULevelEditorViewportSettings.
#robomerge FNNC
#rb patrick.enfedaque
#preflight 6227604a7077eb04cf696c33

[CL 19302351 by Richard Malo in ue5-main branch]
2022-03-08 09:40:27 -05:00
leon huang
0193ffe8d3 Fix for CIS warnings for localization duplicate keys. Fixes simply involve changing one of the colliding localization keys.
#rnx
	#rb: Vincent.Gauthier
	#jira: UE-143620
	#preflight: 6222489d2f7d78332e121416
	#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: leon.huang
#ROBOMERGE-SOURCE: CL 19272838 in //UE5/Release-5.0/... via CL 19273134
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19275063 by leon huang in ue5-main branch]
2022-03-04 16:10:23 -05:00
vincent beauchemin
00965af9e8 Add feature to move actors from data layer(s) to another data layer in the Data Layers Outliner
* This is perform on Left Alt down.
* Mouse cursor is changed during the operation.
* SceneOutliner CreateDragDropOperation has now info on FPointerEvent.

#rb richard.malo
#preflight 620d2bb501253d2e19175c1c

[CL 19016197 by vincent beauchemin in ue5-main branch]
2022-02-16 11:58:08 -05:00
aditya ravichandran
6d8b2860da Re-create the Outliner on Map Change,
Disable the Pinned Column and Context Menu option on non-wp maps,
Rename the Level Column to "Package Short Name" on wp enabled maps,
Add the ability to access all outliners from SLevelEditor

#jira UE-133207
#jira UETOOL-4981
#rb Lauren.Barnes
#preflight 620d0fa37948a1e5e4b1d578

[CL 19014298 by aditya ravichandran in ue5-main branch]
2022-02-16 10:02:22 -05:00
patrick enfedaque
819bde9b19 New FActorToken for message logs that contains information to select loaded or unloaded actors
original code contributed by: The Coalition

#rb richard.malo, jeanfrancois.dube
#preflight 61e6f268b56c33b8ecef210e

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18642284 in //UE5/Release-5.0/... via CL 18642299 via CL 18642303
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18642316 by patrick enfedaque in ue5-main branch]
2022-01-18 12:54:01 -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
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
julien stjean
ea5951bfab Fixed some notification issues with the type element selection set.
The mecanism to select something wihtout emiting a notification was clearing the existing pending notifications and it wasn't interacting properly with the old bacth notification system.

Also fixed a batch selection notification issue when unselecting all the selected actors from the scene outliner.

#rb Jamie.Dale
#preflight 61b3732fee0de9822e452275

#ROBOMERGE-AUTHOR: julien.stjean
#ROBOMERGE-SOURCE: CL 18436445 in //UE5/Release-5.0/... via CL 18437432
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18437918 by julien stjean in ue5-release-engine-test branch]
2021-12-10 21:24:55 -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
aditya ravichandran
820377198c Outliner column visibility is now saved across sessions
#jira UE-127396
#rb sebastian.nordgren
#preflight 61896e87be21c713680f7b03

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 18105061 in //UE5/Release-5.0/... via CL 18106179
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v889-18060218)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18106231 by aditya ravichandran in ue5-release-engine-test branch]
2021-11-09 10:56:37 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
patrick enfedaque
9a698d56aa WorldPartition: Cleanup
- Remove unused callbacks
- Remove bEnableWorldPartiton property
- Add UWorld::IsPartitionedWorld() instead of checking for GetWorldPartition() != nullptr

#rb jeanfrancois.dube
#preflight 6130adea5fda57000133c90a

#ROBOMERGE-SOURCE: CL 17401159 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17401160 by patrick enfedaque in ue5-release-engine-test branch]
2021-09-02 08:09:40 -04:00
patrick enfedaque
7e0c76b648 SceneOutliner: Pinning Actors scrolls them into view
#rb roey.borsteinas
#preflight 6127bed645848f00018f198f

#ROBOMERGE-SOURCE: CL 17350351 via CL 17350366
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17350371 by patrick enfedaque in ue5-release-engine-test branch]
2021-08-30 06:34:00 -04:00
aditya ravichandran
22b0f4a1a4 Added the ability to show/hide columns in the Scene Outliner. Refactored FActorInfoColumn to separate out the modes into separate columns so they can exist simultaneously
#jira UETOOL-2790
#jira UE-113401
#rb lauren.barnes
#rb patrick.boutot
#rb roey.borsteinas
#okfforgithub public
#preflight 610c27a53b37200001a4af5e

#ROBOMERGE-SOURCE: CL 17082482 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17082488 by aditya ravichandran in ue5-release-engine-test branch]
2021-08-06 09:18:58 -04:00