Commit Graph

56 Commits

Author SHA1 Message Date
ben hoffman
ccc7b1af25 Remove unnecessary check in SubobjectDataSubsystem
#jira UE-74439
#rb trivial
#rnx

[CL 16376065 by ben hoffman in ue5-main branch]
2021-05-18 17:02:55 -04:00
ben hoffman
f3116b5fe4 Fix a bug where the hierarchy would all be attached to the default scene root for native blueprints.
Correctly sort non-scene components to the bottom of the component tree.
This is some logic that was missed during the SCS editor refactor and is known to work already.

#jira UE-115776
#rb trivial
#rnx
#preflight 60a40b42292e32000148e10b

[CL 16374996 by ben hoffman in ue5-main branch]
2021-05-18 16:15:05 -04:00
ben hoffman
1d83ed6981 Only set a newly created component as the default scene root if it can be reparented. This stops the incorrect ordering of native components in the heirarchy after a new component has been added
#jira none
#rb me
#rnx

[CL 16358428 by ben hoffman in ue5-main branch]
2021-05-17 16:25:26 -04:00
ben hoffman
db3a6d7413 Fix PVS CIS issues
#jira none
#rb trivial
#rnx

[CL 16145593 by ben hoffman in ue5-main branch]
2021-04-28 12:51:53 -04:00
Marc Audy
3cfedaade8 Fix PVS warning V502 when comparing against NAME_None in a trinary
[CL 16137741 by Marc Audy in ue5-main branch]
2021-04-28 01:58:36 -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