first pass at collada metadata

This commit is contained in:
RichardTea
2019-04-08 17:11:50 +01:00
parent 2a3626577f
commit d66166675a
3 changed files with 24 additions and 2 deletions

View File

@@ -207,6 +207,12 @@ void ColladaLoader::InternReadFile( const std::string& pFile, aiScene* pScene, I
0, 0, 0, 1);
}
// Store scene metadata
for (auto it = parser.mAssetMetaData.cbegin(); it != parser.mAssetMetaData.cend(); ++it)
{
pScene->mMetaData->Add((*it).first, (*it).second);
}
// store all meshes
StoreSceneMeshes( pScene);