[IMaterial] Fix code analysis warning
This commit is contained in:
parent
d11f5dee1f
commit
6f72458a40
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user