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
388f3db4a7
Fix duplication of an inherited blueprint variables in the subobject instance editor by using the correct ComponentInstanceInActor instead of the SCS node
...
#jira UE-117371
#rb marc.audy
#rnx
[CL 16625879 by ben hoffman in ue5-main branch]
2021-06-10 13:52:23 -04:00
ben hoffman
74ba7a83b6
Fix SA warning with NewSCSNode in PasteSubobjects
...
#jira none
#rb trivial
#rnx
[CL 16623623 by ben hoffman in ue5-main branch]
2021-06-10 11:05:53 -04:00
ben hoffman
dbe9a24a9a
Add clearer logging when creating a new BP component
...
#jira UE-117725
#rb trivial
#rnx
#preflight 60c161b8b68c700001b51b83
[CL 16617905 by ben hoffman in ue5-main branch]
2021-06-09 22:01:11 -04:00
ben hoffman
3fb10ffe8f
Fix a crash when deleteing instances of subobjects if the component template is null
...
#jira UE-117672
#rn trivial
#rnx
[CL 16615637 by ben hoffman in ue5-main branch]
2021-06-09 19:25:32 -04:00
ben hoffman
fb8a5f3e2a
Fix a crash when pasting subobjects into the blueprint editor. This will ensure that a valid attachment target is selected for the subobject, and correctly create a subobject data handle based off of the SCSnode instead of the SCSNode's component template, which was causing the crash.
...
#jira UE-116864
#rb phillip.kavan
#rnx
#preflight 60c115d6c6126400019f921b
[CL 16613714 by ben hoffman in ue5-main branch]
2021-06-09 17:47:07 -04:00
ben hoffman
cbd9782fdc
Remove unused parent class filter from Subobject Data Subsystem
...
#rb trivial
#rnx
#jira none
#preflight 60bfe2a31ab03100015ac15d
[CL 16597093 by ben hoffman in ue5-main branch]
2021-06-08 19:58:14 -04:00
ben hoffman
4b3aa3e563
Make DeleteSubobject functions for an instance and blueprint seperate for better context menu searches
...
#jira none
#rb trivial
#rnx
#preflight 60be2392884c63000171ad30
[CL 16572253 by ben hoffman in ue5-main branch]
2021-06-07 12:17:06 -04:00
ben hoffman
5c81d43585
Change how the old root component gets deleted to correctly handle the promotion of its children
...
#jira UE-117184
#rb trivial
#rnx
#preflight 60b942e615b2f10001aade6e
[CL 16555185 by ben hoffman in ue5-main branch]
2021-06-03 19:21:20 -04:00
ben hoffman
fd1fe7595b
Subobject Data Subsystem:
...
- Do not create a new blueprint component via the Subobject Data subsystem if the given class is not a blueprint type.
- Check for existing classes with that have the same name when creating a BP class to prevent the user from creating invalid packages.
- Add logging to show the user a reason for failure when the given class name is invalid.
#rb phillip.kavan
#jira UE-116746
#jira UE-116749
#jira UE-117000
#preflight 60b8e5f78e7ee10001f44220
[CL 16549867 by ben hoffman in ue5-main branch]
2021-06-03 13:44:44 -04:00
ben hoffman
0267dce005
When adding to instance inhertied subobjects, if the actor instance cannot be initalliy found walk up the heirarchy until we find one.
...
#jira UE-115687
#rb marc.audy
#preflight 60a6ad227370d300018b3ad5
[CL 16408716 by ben hoffman in ue5-main branch]
2021-05-20 15:59:06 -04:00
ben hoffman
f521548a94
Sort blueprint subobjects by their type to ensure that non-scene components show up on the bottom. When adding a new subobject parent non-scene components to the actor instead of the default scene root.
...
#jira UE-116086
#rb marc.audy
#preflight 60a5604aa5fa6d0001321600
[CL 16391076 by ben hoffman in ue5-main branch]
2021-05-19 15:51:34 -04:00
ben hoffman
cace383786
Fix a case where an ensure could be triggered when adding a new component to a blueprint with BP inherited components
...
#jira none
#rb
#rnx
#preflight 60a42f4a7d6b060001e8d724
[CL 16377852 by ben hoffman in ue5-main branch]
2021-05-18 18:36:56 -04:00
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
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
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
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
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
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
1ef77ebb6f
Fix Subobject Data Factories not creating inherited subobject data in situations where a USCS_Node was added via the SimpleConstruction Script
...
#jira UE-115590
#rb trivial
#rnx
#preflight 609db5abcbf9a40001cff7e1
[CL 16323283 by ben hoffman in ue5-main branch]
2021-05-13 20:44:17 -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
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