Commit Graph

51 Commits

Author SHA1 Message Date
Andrew Rodham
4ff7bab147 Slate: Initial phase of FVector2D deprecation
- Expanded FDeprecateSlateVector2D to provide structs for parameters, return types and member variables that use FVector2f, while still allowing conversion to/from FVector2d with optional per-module deprecation mechanisms.
  - Many of the high-traffic SlateCore types like FSlateBrush, FGeometry and FSlateLayoutTransform have been converted to use these deprecation mechanisms.
  - Some legacy FGeometry::ToPaintGeometry and MakeChild overloads have been explicitly deprecated since they cause ambiguous overloads with FSlateLayoutTransform if it were to support implicit construction.
  - Deprecated ULocalPlayer::GetPixelBoundingBox and GetPixelPoint to prefer FVector2f for OptionalAllotedSize parameter since this parameter is expected to come from FGeometry
  - Exposed FVector2f members to blueprints

#jira none
#rb Andy.Davidson, Dave.Jones, Vincent.Gauthier, Patrick.Boutot
#preflight 63bc6fd068068a8bd6027c9f

[CL 23631073 by Andrew Rodham in ue5-main branch]
2023-01-10 14:46:43 -05:00
aditya ravichandran
0404795480 Outliner: Remove the concept of "Auto Expand Hierarchy", "Always Frame Selection" now handles it
#jira UE-157263
#rb lauren.barnes
#preflight 62b3834ed76167320e3b3fbf

[CL 20781895 by aditya ravichandran in ue5-main branch]
2022-06-22 17:16:07 -04:00
aditya ravichandran
2b56ea4c61 Outliner: Add option to Auto Expand Hierarchy when Always Frame Selection is on, and enable parent highlighting for collapsed items
#jira UE-157263
#rb lauren.barnes
#preflight 62b202eede72d4f6b341ae65

[CL 20761213 by aditya ravichandran in ue5-main branch]
2022-06-21 13:48:41 -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
lauren barnes
5f7006fb53 Fixing EditorStyle->AppStyle merge errors
#rb trivial

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20073150 via CL 20073151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105751 by lauren barnes in ue5-main branch]
2022-05-09 13:31:58 -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
283e610d47 SceneOutliner: Filter out double click events on items that !CanInteract()
#jira UE-142796
#rb richard.malo
#preflight 620d379c3d5414675647d8a6
#rnx

[CL 19017462 by Patrick Enfedaque in ue5-main branch]
2022-02-16 12:55:20 -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
fd9e968445 Add functionality to STreeView to display the hierarchy of items stacked at the top
Enable said functionality for the Outliner
#jira UE-132613
#rb Lauren.Barnes
#preflight 620bcd22483ff0ae5ebd2f86

[CL 18996953 by aditya ravichandran in ue5-main branch]
2022-02-15 11:19:12 -05:00
patrick boutot
3a767867aa Fix SWidget that are not incrementing their LayerId correctly.
#rb sebastian.nordgren
#preflight 61f934dec54b18c42dd2ac3d

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18807375 in //UE5/Release-5.0/... via CL 18809186 via CL 18822226
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18823250 by patrick boutot in ue5-main branch]
2022-02-02 05:29:19 -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
patrick boutot
e23144a01f SceneOutliner: Fix bad LayerId increment.
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 18534168 via CL 18534182 via CL 18534190 via CL 18534522 via CL 18534590
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18534644 by patrick boutot in ue5-release-engine-test branch]
2022-01-06 14:39:46 -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
Patrick Boutot
5f1e91106b Slate: Convert SCompoundWidget Attributes into SlateAttributes.
#jira UE-109146

[CL 15664716 by Patrick Boutot in ue5-main branch]
2021-03-10 07:13:29 -04:00
louise rasmussen
3fbdbb916c Scene Outliner - Rows have fixed height of 18px, Icons at 14px
#JIRA UETOOL-2696

#ROBOMERGE-SOURCE: CL 15524321 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15524330 by louise rasmussen in ue5-main branch]
2021-02-24 20:39:07 -04:00
roey borsteinas
f074df5e71 SceneOutliner: Fixed drag drop tooltip not displaying correctly
#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 15378515 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15381346 by roey borsteinas in ue5-main branch]
2021-02-10 17:41:49 -04:00
Richard Malo
fc2a6826bb - Added exports to SceneOutliner for upcoming changes.
- Added virtual ISceneOutlinerTreeItem::ShouldShowVisibilityState to allow never showing Visibility state.
- Added Source DragDropOperation in FSceneOutlinerDragDropPayload (for future use).
#rb patrick.enfedaque, jeanfrancois.dube

[CL 14591594 by Richard Malo in ue5-main branch]
2020-10-27 15:17:40 -04:00
daren cheng
39fcc49b85 Fix Actors cannot be assigned to a Layer when dragged from World Outliner.
#jira UE-97043
#rb roey.borsteinas

[CL 14191632 by daren cheng in ue5-main branch]
2020-08-26 14:07:52 -04:00
roey borsteinas
1e01ab4a12 Removed SceneOutliner namespace
#rb none
#jira none

[CL 13954396 by roey borsteinas in ue5-main branch]
2020-07-28 09:25:56 -04:00
roey borsteinas
cce829bfd4 SceneOutliner refactor
Scene Outliner refactored to remove all actor-specific code.
Now uses modular modes and hierarchies to allow representation of any data model.

#rb patrick.enfedaque matt.kuhlenschmidt
#jira none
#fyi tim.gautier

[CL 13922848 by roey borsteinas in ue5-main branch]
2020-07-22 09:35:57 -04:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
JeanMichel Dignard
d4f0f4d3f2 Copying //UE4/Dev-Enterprise @ cl 9420543 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 9420574 by JeanMichel Dignard in Main branch]
2019-10-04 13:11:45 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
Chris Gagnon
8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00