ben hoffman
9d769cba98
Do not allow copying or duplicating subobjects with the name of "DefaultSceneRoot". This will prevent confusing renaming situations where the DefaultSceneRoot could be deleted, but still be preventing other subobjects from being named that
...
#jira UE-119104
#rb todo
#rnx
#preflight 60ff101a47c93a00010d9d2e
[CL 16961027 by ben hoffman in ue5-main branch]
2021-07-26 16:56:28 -04:00
ben hoffman
8db01bec86
Add a fallback method of determining the instanced component to use as an asset override in the event that a subobjec thas been added but is not a part of the generated class yet. Do this by checking if the archetype of the GEN_VARIABLE subobject and one on the instance are the same.
...
#jira UE-119138
#rb trivial
#rnx
#preflight 60f0b58a57b3020001337e09
[CL 16869367 by ben hoffman in ue5-main branch]
2021-07-15 19:42:26 -04:00
ben hoffman
03ec155896
Check not only the SimpleConstructionScript's DefaultSceneRootNode, but also the SceneRootComponentTemplate when determining if a subobject is the default scene root. This handles cases where the DefaultSceneRoot node has been updated (like when you drag/drop a new scene component onto it in the Subobject Editor)
...
#jira UE-117876
#rb marc.audy
#rnx
[CL 16854920 by ben hoffman in ue5-main branch]
2021-07-14 16:37:36 -04:00
ben hoffman
51603fdd01
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
[CL 16844692 by ben hoffman in ue5-main branch]
2021-07-13 19:29:01 -04:00
ben hoffman
a7da155db0
Correctly check if a component is inherited before allowing it to be reparented
...
#jira UE-118270
#rb trivial
#rnx
[CL 16837483 by ben hoffman in ue5-main branch]
2021-07-13 10:53:46 -04:00
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
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
998c788bff
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
[CL 16358813 by ben hoffman in ue5-main branch]
2021-05-17 16:43:05 -04:00
ben hoffman
b930e2e22a
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
[CL 16354780 by ben hoffman in ue5-main branch]
2021-05-17 13:04:25 -04:00
ben hoffman
0c88f1985c
Remove unused variables in SubobjectData.cpp
...
#jira none
#rb trivial
#rnx
#preflight 609fcf63ae0db000015d9b68
[CL 16341106 by ben hoffman in ue5-main branch]
2021-05-15 10:17:41 -04:00
ben hoffman
311b677eec
Fix incorrect color tinting of icons in inherited blueprints
...
#jira none
#rb trivial
#rnx
#preflight 609ee4144a67ba0001f24a05
[CL 16336865 by ben hoffman in ue5-main branch]
2021-05-14 17:55:27 -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