Commit Graph

26 Commits

Author SHA1 Message Date
nate strohmyer
ae5cf68a2f Fixing empty Actors having a root component with an Edit in Blueprint hyperlink that doesn't work
#jira UE-145339
#rb ben.hoffman
#preflight 629921851941378d7c78e4f4

[CL 20490724 by nate strohmyer in ue5-main branch]
2022-06-03 14:53:17 -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
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
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
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
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
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
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
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
ben hoffman
4a312aa02e Add Apply modifications to blueprints to the context menu in the subobject instance editor.
Make SSubobjectEditor::CreateMenuBuilder non-const to allow for the binding of functions that can modify the actor instance like reseting to blueprint defaults

#jira UE-117764
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16662762 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v834-16658389)

[CL 16662779 by ben hoffman in ue5-release-engine-test branch]
2021-06-14 15:31:51 -04:00
ben hoffman
00511fe56b Add a GetDragDropDisplayText function to subobject data to allow for easier conversions to FText for drag/drop operations
#jira UE-117068
#rb trivial
#rnx
#preflight 60c2657279a7fe00017a3617

#ROBOMERGE-SOURCE: CL 16629717 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16629728 by ben hoffman in ue5-release-engine-test branch]
2021-06-10 16:39:14 -04:00
ben hoffman
7c447b2d16 Keep track of the created slate nodes while updating tree in the local function scope instead of calling FindOrCreateSlateNodeForHandle because we cannot gaurantee that the grandparent node will be in the RootTree when creating subobjects.
#jira UE-116440
#rb marc.audy
#rnx
#preflight 60af061c0bdb270001096ce7

[CL 16480651 by ben hoffman in ue5-main branch]
2021-05-26 23:50:31 -04:00
ben hoffman
97cbbf27a1 Override FindSlateNodeForObject in the Blueprint editor to handle getting the archetype of the actor compoent
#jira none
#rb me
#rnx
#preflight 60a3ec52fe43a7000191ff40

[CL 16371928 by ben hoffman in ue5-main branch]
2021-05-18 14:11:19 -04:00
ben hoffman
26f716014e Add IsInheritedComponent override to FInheritedSubobjectData to get it to correctly return true.
#jira UE-115689
#jira UE-115692
#rb trivial
#rnx
#preflight 609eebf022cce000010a0d06

[CL 16337265 by ben hoffman in ue5-main branch]
2021-05-14 18:33:04 -04:00
ben hoffman
32b7a29138 Add CAC visualization mode for the subobject editor
#jira none
#rb trivial
#rnx

[CL 16315263 by ben hoffman in ue5-main branch]
2021-05-13 13:36:50 -04:00
ben hoffman
40261ec4f8 Update implementation of TryHandleAssetDragDropOperation
#jira UE-114839
#rb trivial
#rnx
#preflight 6092d029fc52ec00012dedd4

[CL 16210780 by ben hoffman in ue5-main branch]
2021-05-05 14:24:54 -04:00
ben hoffman
d1e784fb5e Fix CIS warnings with SLATE_FUNCTION_BUILD_OPTIMIZATION missing a begin/end
#rb trivial
#rnx
#jira none

[CL 16200437 by ben hoffman in ue5-main branch]
2021-05-04 18:24:15 -04:00