Commit Graph

41 Commits

Author SHA1 Message Date
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
ben hoffman
e629c84afb Only create a new default subobject when destroying a component if the owner's class is not native. Native owner classes do not have to have a DefaultSceneRoot when you drag in the C++ class directly from the content browser into the level.
#jira UE-130740
#rb marc.audy
#preflight 623a33f4b3653cf6afe52385

[CL 19482791 by ben hoffman in ue5-main branch]
2022-03-23 14:41:32 -04:00
Matt Peters
c1b46b1fed FAssetData: Callsites need to handle AssetData.GetClass() returning null. Added IsInstanceOf(UClass*) for the common operation GetClass() && GetClass->IsChildOf(BaseClass).
#jira UE-146521
#rb Zousar.Shaker
#rnx
#preflight 623874b789625f06129e466b

[CL 19450936 by Matt Peters in ue5-main branch]
2022-03-21 09:00:36 -04:00
Phillip Kavan
b5863c2b95 Some minor refactoring to assist with handling removal/reassignment of Blueprint namespaces.
Change summary:
- Added a code path for removing a namespace from the BP editor context.
- Consolidated namespace helper instances into a single BP editor context.
- Extended the FBlueprintEditor::ImportNamespace() API to accept additional options and a post-import callback.
- Refactored the auto-import code path to fix issues with reassignment to/from an imported namespace.
- Decoupled SSubobjectBlueprintEditor from a namespace-aware callback in favor of a generalized "add" callback.
- Linked the CVar for inheriting parent BP imports to a transient BP setting (experimental/not user-facing).
- Consolidated code to gather global/default imports into a utility API so that namespace sets are consistent.
- Modified "Imports" view to include a "default imports" section (similar to inherited interfaces) - these are not removable.
- Moved "Inherited Interfaces" section to be sorted above the "Implemented Interfaces" section for consistency.
- Fixed SBlueprintNamespaceEntry to query for the current text rather than only setting it at construction time.

#jira UE-133288
#rb Ben.Hoffman
#preflight 621ff4b337049be51738bafe

[CL 19236263 by Phillip Kavan in ue5-main branch]
2022-03-02 20:48:04 -05:00
michael noland
ab53a1b72e Split BP project settings out into a separate header
#jira UE-81056
#preflight 61dfb80df61ef33adf330a27

#ROBOMERGE-AUTHOR: michael.noland
#ROBOMERGE-SOURCE: CL 18594094 in //UE5/Release-5.0/... via CL 18594096 via CL 18594101
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18596566 by michael noland in ue5-main branch]
2022-01-13 10:03:20 -05:00
ben hoffman
c72ff9d6d4 Fix an ensure that is thrown when searching a component tree that has a brand new component added to it. This is an outdated ensure after the refactor from SCSEditor -> Subobject Editor. Remove an unnecessary include file
#jira UE-138798
#rb trivial
#rnx
#preflight 61df40bd6a076ddb5304ebdc

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18589405 in //UE5/Release-5.0/... via CL 18589411 via CL 18589432
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18589450 by ben hoffman in ue5-main branch]
2022-01-12 16:10:18 -05:00
aditya ravichandran
02e38e60b8 Update Component Tree icons and styling
#jira UE-112704
#rb lauren.barnes
#preflight 61b8cbfb2e65a1df04682cdd

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 18455533 in //UE5/Release-5.0/... via CL 18455581
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v898-18417669)

[CL 18455607 by aditya ravichandran in ue5-release-engine-test branch]
2021-12-14 12:08:13 -05:00
phillip kavan
4266aae5f3 Add non-imported class type filtering to the "Add Component" type selection UI in the Blueprint editor.
Additionally auto-import any namespace associated with the selected component class type when a new component is added.

Change summary:
- Modified the component type registry to internally create/store unloaded BP data to assist with unloaded BP component type filtering.
- Added FEditorClassUtils::GetImplementedInterfaceClassPathsFromAsset() to move BP interface asset tag processing into a shared utility API.
- Modified SComponentClassCombo to work with IClassViewFilter-style filtering and added a filter options menu (currently only visible when namespace filtering features are enabled via CVar).
- A few minor modifications/additions to SSubobjectEditor/SSubobjectBlueprintEditor to assist with interfacing with the owning FBlueprintEditor context for filtering, updating etc.

#jira UE-133294
#rb Ben.Hoffman
#preflight 61b7c0601a4451f7ba1d0c46

#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 18449755 in //UE5/Release-5.0/... via CL 18449768
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18449772 by phillip kavan in ue5-release-engine-test branch]
2021-12-13 17:39:02 -05:00
jamie dale
1f97a96a67 Fixed the component tree potentially showing stale items
SSubobjectInstanceEditor::OnObjectReplaced was never bound, so we now just handle this directly in SActorDetails instead

#rb Ben.Hoffman
#preflight skip
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 18346293 via CL 18347479 via CL 18347485 via CL 18347489 via CL 18348493 via CL 18348565
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18348601 by jamie dale in ue5-release-engine-test branch]
2021-12-01 21:15:38 -05:00
aditya ravichandran
d479887ea2 Details Panel Name Area: Fix button padding/spacing issues
#jira UE-135047
#rb lauren.barnes
#preflight 619e9af488439fccfea98818

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 18287944 in //UE5/Release-5.0/... via CL 18287963
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18288003 by aditya ravichandran in ue5-release-engine-test branch]
2021-11-24 15:45:32 -05:00
ben hoffman
3fb0faa6e7 Hide filtered components when typing in the Subobject Editor tree view instead of just selecting them.
#FORT-416664
#rb trivial
#rnx

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 18245855 in //UE5/Release-5.0/... via CL 18245900
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18245960 by ben hoffman in ue5-release-engine-test branch]
2021-11-18 18:06:17 -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
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
ben hoffman
987ea6e71d Correctly use the parent handle when adding a component with a selection from the content browser in the subobject editor. Previously it was attempting to find the parent handle for the asset, which would always return null. We just need to use the root handle of the subobject tree instead.
#jira UE-125172
#rb marc.audy
#rb dave.jones2
#rnx

#ROBOMERGE-AUTHOR: ben.hoffman
#ROBOMERGE-SOURCE: CL 17585348 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17585439 by ben hoffman in ue5-release-engine-test branch]
2021-09-21 14:01:52 -04:00
matt kuhlenschmidt
fcea7ab455 Stage one of editor style recolor
- Buttons, checkboxes, menus, toolbars, trees, combos, and text boxes all have consistent sizing and coloring
- Invalidated current dark theme

#pf 612d40b9423a8f00013c5b92

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

[CL 17369625 by matt kuhlenschmidt in ue5-release-engine-test branch]
2021-08-31 12:02:37 -04:00
patrick hardy
8457248408 Subobject editor recognizes HideAddComponentButton of ISCSEditorUICustomization.
#jira UE-121842
#rb Ben.Hoffman

#ROBOMERGE-SOURCE: CL 17295009 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17295016 by patrick hardy in ue5-release-engine-test branch]
2021-08-24 18:28:44 -04:00
ben hoffman
731f13257d Add subobjectEditorMenuContext and ExtensionContext in favor of SCS Editor extension context.
#jira UE-114839
#rb trivial
#rnx
#preflight 611d6d71008be90001ba04e7

#ROBOMERGE-SOURCE: CL 17233268 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17233276 by ben hoffman in ue5-release-engine-test branch]
2021-08-19 09:43:21 -04:00
matt kuhlenschmidt
995c0b6abf Moved SEditorHeaderButton out of UnrealEd and into EditorWidgets
#ROBOMERGE-SOURCE: CL 17157455 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17157466 by matt kuhlenschmidt in ue5-release-engine-test branch]
2021-08-12 15:48:02 -04:00
ben hoffman
c3a0c9eb36 Add OnHighlightPropertyInDetailsView to the blueprint editor to account for the behavior required in the SCS diff tree
#jira UE-114839
#rb trivial
#rnx
#preflight 61006d750bf6fc000105bf1e

#ROBOMERGE-SOURCE: CL 16974617 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16974624 by ben hoffman in ue5-release-engine-test branch]
2021-07-27 18:00:09 -04:00
ben hoffman
4fd97ac3a9 Check for an instance inherited default scene root when disallowing
#jira UE-119104
#rb justin.hare
#rnx

#ROBOMERGE-SOURCE: CL 16957326 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16957341 by ben hoffman in ue5-release-engine-test branch]
2021-07-26 11:58:18 -04:00
ben hoffman
131178e0af Make sure that a newly pasted node is scrolled into view
#jira none
#rb trivial
#rnx

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

[CL 16898405 by ben hoffman in ue5-release-engine-test branch]
2021-07-20 13:05:19 -04:00
ben hoffman
f3cd329b4b Correctly check if a dragged node is a child actor subtree object instead of just a child actor node. This fixes the tooltip when dragging into the blueprint event graph
#jira UE-119115
#rnx
#rb trivial

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

[CL 16829029 by ben hoffman in ue5-release-engine-test branch]
2021-07-12 14:51:44 -04:00
ben hoffman
1b38a5881b Instead of checking if something is a child actor component when attempting to maniuplate it, check if its owner is a CAC instead. If it's owner is a CAC, then it cannot be removed because it is determined by the owning CAC. Before, the code was incorrectly checking if something was just a plain old child actor component, resulting in being unable to delete, reparent, or attach to a child actor component.
#jira UE-117132
#jira UE-117332
#jira UE-117327
#jira UE-117329

#rb marc.audy
#rnx

#preflight 60d48296925f1400010bb909

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

[CL 16773618 by ben hoffman in ue5-release-engine-test branch]
2021-06-24 10:56:30 -04:00
ben hoffman
dd95df28b4 Also check for the component archetype when updating the tree selection in SActorDetails because it is a viable option for inherited BP components on instanced objects
#jira UE-118278
#rb marc.audy
#rnx

#ROBOMERGE-SOURCE: CL 16749051 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16749200 by ben hoffman in ue5-release-engine-test branch]
2021-06-22 17:03:10 -04:00
ben hoffman
51b341c096 Correctly set the parent node when handling the drag/drop of an asset type in the blueprint editor
#jira UE-118355
#rb dave.jones
#rb marc.audy
#rnx

#ROBOMERGE-SOURCE: CL 16703893 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16703897 by ben hoffman in ue5-release-engine-test branch]
2021-06-17 09:39:18 -04:00