OgreImporter: One more function cleanup.

This commit is contained in:
Jonne Nauha
2014-05-02 00:56:35 +03:00
parent 283394d695
commit 409c2cf332
2 changed files with 75 additions and 90 deletions

View File

@@ -200,9 +200,9 @@ void OgreImporter::InternReadFile(const std::string &pFile, aiScene *pScene, Ass
ReadBoneWeights(m_SharedGeometry, reader.get());
// -------------------- Process Results --------------------
BOOST_FOREACH(boost::shared_ptr<SubMesh> theSubMesh, subMeshes)
BOOST_FOREACH(boost::shared_ptr<SubMesh> submesh, subMeshes)
{
ProcessSubMesh(*theSubMesh, m_SharedGeometry);
ProcessSubMesh(*submesh.get(), m_SharedGeometry);
}
// -------------------- Apply to aiScene --------------------