You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Interchange: Pipeline now have an optional "asset name" property use when importing 1 asset into the content browser.
#jira UE-178095 #rb jeanluc.corenthin #rnx #preflight 6467a3787958f15a8b8abd4d [CL 25546937 by Alexis Matte in ue5-main branch]
This commit is contained in:
+13
-1
@@ -295,7 +295,7 @@ void FInterchangePipelineBaseDetailsCustomization::CustomizeDetails(IDetailLayou
|
||||
{
|
||||
continue;
|
||||
}
|
||||
const FName PropertyName = PropertyHandle.Get().GetProperty() ? PropertyHandle.Get().GetProperty()->GetFName() : NAME_None;
|
||||
const FName PropertyName = PropertyPtr ? PropertyPtr->GetFName() : NAME_None;
|
||||
if (PropertyName == UInterchangePipelineBase::GetPropertiesStatesPropertyName())
|
||||
{
|
||||
CachedDetailBuilder->HideProperty(PropertyHandle);
|
||||
@@ -306,6 +306,18 @@ void FInterchangePipelineBaseDetailsCustomization::CustomizeDetails(IDetailLayou
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
//If the property UObject owner class is not the same type as the main pipeline class, it mean
|
||||
//we deal with a sub pipeline and we must hide property that have the "StandAlonePipelineProperty" meta data
|
||||
if(UClass* InterchangePipelinePropertyClass = Cast<UClass>(PropertyPtr->GetOwnerUObject()))
|
||||
{
|
||||
if (InterchangePipeline->GetClass() != InterchangePipelinePropertyClass && PropertyHandle->GetBoolMetaData(FName("StandAlonePipelineProperty")))
|
||||
{
|
||||
CachedDetailBuilder->HideProperty(PropertyHandle);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
FName PropertyPath = FName(PropertyPtr->GetPathName());
|
||||
CachedDetailBuilder->HideProperty(PropertyHandle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user