This commit is contained in:
Wojtek Figat
2021-10-07 15:04:48 +02:00
parent 1af5ec8492
commit 96a903afd1
3 changed files with 13 additions and 11 deletions

View File

@@ -18,9 +18,8 @@ LODPreviewMaterialShader::LODPreviewMaterialShader()
const MaterialInfo& LODPreviewMaterialShader::GetInfo() const
{
if (_material)
return _material->GetInfo();
return MaterialInfo();
ASSERT_LOW_LAYER(_material);
return _material->GetInfo();
}
bool LODPreviewMaterialShader::IsReady() const