[Premake5] Update Binary (#492)
* [Premake5] Update Binary * [IMaterial] Fix obscure compilation error
This commit is contained in:
parent
e49194ff65
commit
b886ca9a4d
@ -260,7 +260,7 @@ namespace Assets
|
|||||||
Game::XAssetHeader header = entry->asset.header;
|
Game::XAssetHeader header = entry->asset.header;
|
||||||
|
|
||||||
if (header.material->techniqueSet == iw4TechSet->asset.header.techniqueSet
|
if (header.material->techniqueSet == iw4TechSet->asset.header.techniqueSet
|
||||||
&& !std::string(header.material->info.name).contains("icon")) // Yeah this has a tendency to fuck up a LOT of transparent materials
|
&& std::string(header.material->info.name).find("icon") == std::string::npos) // Yeah this has a tendency to fuck up a LOT of transparent materials
|
||||||
{
|
{
|
||||||
Components::Logger::Print("Material {} with techset {} has been mapped to {} (last chance!), taking the sort key of material {}\n",
|
Components::Logger::Print("Material {} with techset {} has been mapped to {} (last chance!), taking the sort key of material {}\n",
|
||||||
asset->info.name, asset->techniqueSet->name, header.material->techniqueSet->name, header.material->info.name);
|
asset->info.name, asset->techniqueSet->name, header.material->techniqueSet->name, header.material->info.name);
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user