You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix Horde issue 306851
#horde 306851 #rb none [CL 25548183 by matija kecman in ue5-main branch]
This commit is contained in:
+2
@@ -425,6 +425,7 @@ void UBakeRenderCaptureTool::CreateAssets(UWorld* SourceWorld, UObject* SourceAs
|
||||
const bool bPackedMRS = ResultSettings->PackedMRSMap != nullptr;
|
||||
const bool bSubsurfaceMaterial = ResultSettings->SubsurfaceColorMap || ResultSettings->OpacityMap;
|
||||
|
||||
#if WITH_EDITOR
|
||||
{
|
||||
// Choose the material
|
||||
TObjectPtr<UMaterialInstanceDynamic> Material = ResultSettings->PackedMRSMap ? PreviewMaterialPackedRC : PreviewMaterialRC;
|
||||
@@ -478,6 +479,7 @@ void UBakeRenderCaptureTool::CreateAssets(UWorld* SourceWorld, UObject* SourceAs
|
||||
NewMaterial->PostEditChange();
|
||||
}
|
||||
}
|
||||
#endif // WITH_EDITOR
|
||||
|
||||
auto CreateTextureAsset = [this, &BaseName, &SourceWorld, &SourceAsset] (
|
||||
const FString& TexParamName,
|
||||
|
||||
Reference in New Issue
Block a user