You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixed bug in SMaterialParametersOverviewTree causing Material Editor to crash when the user creates a Param node and views the UI panel containing the material parameters.
#jira UE-170172 #rb sebastien.hillaire #preflight 638e1515bb6fefa472545f13 [CL 23391291 by massimo tristano in ue5-main branch]
This commit is contained in:
@@ -800,22 +800,10 @@ void SMaterialParametersOverviewTree::ShowSubParameters()
|
||||
}
|
||||
|
||||
UDEditorRuntimeVirtualTextureParameterValue* VTParameter = Cast<UDEditorRuntimeVirtualTextureParameterValue>(Parameter);
|
||||
//Don't show VT samples here
|
||||
if (!VTParameter)
|
||||
{
|
||||
for (TSharedPtr<struct FSortedParamData> GroupChild : SortedParameters)
|
||||
{
|
||||
if (GroupChild->Group.GroupName == Property.ParameterGroup.GroupName
|
||||
&& GroupChild->ParameterInfo.Association == ChildProperty->ParameterInfo.Association
|
||||
&& GroupChild->ParameterInfo.Index == ChildProperty->ParameterInfo.Index)
|
||||
{
|
||||
GroupChild->Children.Add(ChildProperty);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
UDEditorSparseVolumeTextureParameterValue* SVTParameter = Cast<UDEditorSparseVolumeTextureParameterValue>(Parameter);
|
||||
if (!SVTParameter)
|
||||
|
||||
// Don't add child property to this group if parameter is of type 'Virtual Texture' or 'Sparse Volume Texture'
|
||||
if (!VTParameter && !SVTParameter)
|
||||
{
|
||||
for (TSharedPtr<struct FSortedParamData> GroupChild : SortedParameters)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user