Remove warning for skinned mesh shader fallback
The shader will be unused anyway if there is no armature
This commit is contained in:
parent
03700acd53
commit
4a29e46817
@ -484,11 +484,7 @@ void SPMeshBuffer::setSTKMaterial(Material* m)
|
|||||||
|
|
||||||
m_shaders[1] = SPShaderManager::get()->getSPShader(skinned_shader_name);
|
m_shaders[1] = SPShaderManager::get()->getSPShader(skinned_shader_name);
|
||||||
if (!m_shaders[1])
|
if (!m_shaders[1])
|
||||||
{
|
|
||||||
Log::warn("SPMeshBuffer", "%s shader is missing, "
|
|
||||||
"fallback to solid_skinned", skinned_shader_name.c_str());
|
|
||||||
m_shaders[1] = SPShaderManager::get()->getSPShader("solid_skinned");
|
m_shaders[1] = SPShaderManager::get()->getSPShader("solid_skinned");
|
||||||
}
|
|
||||||
} // setSTKMaterial
|
} // setSTKMaterial
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user