Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Exporters/ExportMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ void ExportMaterial(const UUnrealMaterial* Mat)

CMaterialParams Params;
Mat->GetParams(Params);
if ((Params.IsNull() || Params.Diffuse == Mat) && AllTextures.Num() == 0)
{
// empty/unknown material, or material itself is a texture
appPrintf("Ignoring %s'%s' due to empty parameters\n", Mat->GetClassName(), Mat->Name);
return;
}

FArchive* Ar = CreateExportArchive(Mat, EFileArchiveOptions::TextFile, "%s.mat", Mat->Name);
if (!Ar) return;
Expand Down