ben hoffman
2d93fed50e
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
[CL 16773601 by ben hoffman in ue5-main branch]
2021-06-24 10:55:53 -04:00
ben hoffman
ac4f7c652d
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
[CL 16749051 by ben hoffman in ue5-main branch]
2021-06-22 16:55:11 -04:00
ben hoffman
71993c43a7
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
[CL 16703893 by ben hoffman in ue5-main branch]
2021-06-17 09:38:47 -04:00
ben hoffman
6a0c152835
Select the root if no nodes are selected when pasting in the subobject instance editor
...
#jira UE-118260
#rb trivial
#rnx
[CL 16678894 by ben hoffman in ue5-main branch]
2021-06-15 16:36:26 -04:00
ben hoffman
e3ec52674e
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
[CL 16662762 by ben hoffman in ue5-main branch]
2021-06-14 15:31:05 -04:00
ben hoffman
1dba26f55d
Automatically select a new component for rename upon duplication.
...
#jira UE-117759
#rb phillip.kavan
#rnx
#preflight 60c2bc6c1264df0001bc76ee
[CL 16635347 by ben hoffman in ue5-main branch]
2021-06-10 22:27:25 -04:00
ben hoffman
84329c50da
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
[CL 16629717 by ben hoffman in ue5-main branch]
2021-06-10 16:38:49 -04:00
ben hoffman
e91ad58e0b
When deleting an instanced component, select the scene root in the tree if there was no given subobject to select
...
#jira none
#rb trivial
#rnx
#preflight 60bfe24fb1a4a30001b462a8
[CL 16597114 by ben hoffman in ue5-main branch]
2021-06-08 20:00:31 -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
6136443612
make SSubobjectEditor::GetObjectContext and SSubobjectEditor::GetObjectContextHandle public accessible functions for users to extend
...
#jira UE-114839
#rb me
#rnx
#preflight 60a8250004188d00015f3492
[CL 16427326 by ben hoffman in ue5-main branch]
2021-05-21 20:19:06 -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
9fe04c3a93
Regenerate tree structure upon deteaching a subobject in the instance and blueprint subobject editors
...
#jira none
#rb trivial
#rnx
[CL 16334580 by ben hoffman in ue5-main branch]
2021-05-14 16:05:27 -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
4a4287e291
Make SSubobjectEditor::DumpTree a public callable function for modules that may need to log information about their custom editor extensions outside of the context of the editor
...
#jira none
#rb trivial
#rnx
[CL 16271407 by ben hoffman in ue5-main branch]
2021-05-11 12:12:47 -04:00
ben hoffman
6000e17211
Fix non-unity compile error in SSubobjectInstanceEditor.cpp
...
#jira none
#rb trivial
#rnx
[CL 16229516 by ben hoffman in ue5-main branch]
2021-05-06 20:51:27 -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
ben hoffman
285a1503df
Create the subobject Editor module that utilizes the new Subobject Data Interface instead of modifying subobjects directly in slate code.
...
#jira UE-114839
#rb phillip.kavan
#rnx
#preflight 609152aa90631e000199463e
#preflight 60919af859592e0001f41c7d
[CL 16198818 by ben hoffman in ue5-main branch]
2021-05-04 16:26:56 -04:00