Until Xcode behaves, the rest get the goodies.

This commit is contained in:
Jason Felds
2013-04-28 22:40:00 -04:00
parent 8479fbf522
commit 33872b3cbe
+4
View File
@@ -760,12 +760,16 @@ void Model::SetSecondsIntoAnimation( float fSeconds )
bool Model::MaterialsNeedNormals() const
{
#ifdef MACOSX
for (msMaterial const &m : m_Materials)
{
if( m.NeedsNormals() )
return true;
}
return false;
#else
return std::any_of(m_Materials.begin(), m_Materials.end(), [](msMaterial const &m) { return m.NeedsNormals(); });
#endif
}
// lua start