Renaming
This commit is contained in:
@@ -427,9 +427,9 @@ TArray<FWingProperty> FWingProperty::GetDetails(UObject* Obj, bool Mutable)
|
||||
{
|
||||
if (!Obj) return {};
|
||||
|
||||
// If it's a UWingStructPointer, return the properties
|
||||
// If it's a UWingStructRef, return the properties
|
||||
// of the struct instead. Propagate editability of the host.
|
||||
if (UWingStructPointer *SP = Cast<UWingStructPointer>(Obj))
|
||||
if (UWingStructRef *SP = Cast<UWingStructRef>(Obj))
|
||||
{
|
||||
TArray<FWingProperty> Result =
|
||||
GetVisible(FWingStructAndUStruct(SP->StructBase, SP->StructType));
|
||||
@@ -450,7 +450,7 @@ TArray<FWingProperty> FWingProperty::GetDetails(UObject* Obj, bool Mutable)
|
||||
}
|
||||
|
||||
// Component references: get the proper template.
|
||||
if (UWingComponentReference* Ref = ::Cast<UWingComponentReference>(Obj))
|
||||
if (UWingComponentRef* Ref = ::Cast<UWingComponentRef>(Obj))
|
||||
{
|
||||
Obj = Mutable ? UWingComponent::GetMutableTemplate(Ref) : UWingComponent::GetImmutableTemplate(Ref);
|
||||
if (!Obj)
|
||||
|
||||
Reference in New Issue
Block a user