Commit Graph

10 Commits

Author SHA1 Message Date
ben hoffman
9433745359 Add an additional check when determining the default scene root to see if a native subobject is the root of it's owning actor.
#jira UE-117126
#rb trivial
#rnx
#preflight 60ee0c9119a00600011f491a

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

[CL 16844694 by ben hoffman in ue5-release-engine-test branch]
2021-07-13 19:29:19 -04:00
ben hoffman
162f09e820 Correctly check if a component is inherited before allowing it to be reparented
#jira UE-118270
#rb trivial
#rnx

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

[CL 16837486 by ben hoffman in ue5-release-engine-test branch]
2021-07-13 10:54:11 -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
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
e721e08e6b Correctly check for a root component that is native with a different name than the default. This will allow other systems such as drag/drop to evaulate correctly when the subobject editor is asked to find the default scene root given only the actor instance.
#jira UE-115866
#rb trivial
#rnx
#preflight 60a2c69e07285b0001e432aa

#ROBOMERGE-SOURCE: CL 16358813 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16358823 by ben hoffman in ue5-release-engine-test branch]
2021-05-17 16:43:26 -04:00
ben hoffman
28218a846b Correctly add "(Inherited)" in the case of a native component in the instance editor. Do not display the native component name for instance inhertied bluerpint subobjects.
#jira UE-115866
#rb trivial
#rnx
#preflight 60a290f54f034a000179f3b2

#ROBOMERGE-SOURCE: CL 16354780 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16354797 by ben hoffman in ue5-release-engine-test branch]
2021-05-17 13:04:53 -04:00
ben hoffman
16904b9aaa Remove unused variables in SubobjectData.cpp
#jira none
#rb trivial
#rnx
#preflight 609fcf63ae0db000015d9b68

#ROBOMERGE-SOURCE: CL 16341106 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16341110 by ben hoffman in ue5-release-engine-test branch]
2021-05-15 10:18:20 -04:00
ben hoffman
8ec70676c4 Fix incorrect color tinting of icons in inherited blueprints
#jira none
#rb trivial
#rnx
#preflight 609ee4144a67ba0001f24a05

#ROBOMERGE-SOURCE: CL 16336865 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16336878 by ben hoffman in ue5-release-engine-test branch]
2021-05-14 17:55:54 -04:00
ben hoffman
892125ab98 Correctly return true for CanEdit() on a FSubobjectData that is an instance-added component, such as the default scene root on an empty actor.
#jira none
#rb trivial
#rnx

[CL 16232124 by ben hoffman in ue5-main branch]
2021-05-06 21:44:04 -04:00
ben hoffman
61908bed8a Create the Subobject Data interface module. This provides an API that can be used to manipulate Subobjects such as adding/removing components, reparenting, and changing the scene heirarchy.
The SubobjectDataSubsystem is how users can manipulate a given object within Blueprints or Python scripting. Given a Uobject instance in a level or a UBlueprint asset, you can use GatherSubobjectData to get get an array of handles that you can use to manipulate that subobject.

This is what the new SubobjectEditor (Previously the SCS editor) will be using instead of having all its logic within slate code.

#rb marc.audy
#jira UE-64131
#preflight 6082ce4f8de3a60001cf6af8
#preflight 6082d84a92d7e700019f53e0

[CL 16104548 by ben hoffman in ue5-main branch]
2021-04-23 11:01:15 -04:00