[IMaterial] Fix code analysis warning

This commit is contained in:
momo5502 2017-04-16 11:56:57 +02:00
parent d11f5dee1f
commit 6f72458a40

View File

@ -154,7 +154,7 @@ namespace Assets
}
}, asset, false);
if(!replacementFound)
if(!replacementFound && asset->techniqueSet)
{
Components::Logger::Print("No replacement found for material %s with techset %s\n", asset->name, asset->techniqueSet->name);
}