Merge branch 'master' into reorg

pull/2506/head
Kim Kulling 2019-06-11 20:59:46 +02:00
commit fc065d8ab4
2 changed files with 10 additions and 2 deletions

View File

@ -713,7 +713,11 @@ void glTFImporter::ImportEmbeddedTextures(glTF::Asset& r)
} }
} }
void glTFImporter::InternReadFile(const std::string& pFile, aiScene* pScene, IOSystem* pIOHandler) { void glTFImporter::InternReadFile(const std::string& pFile, aiScene* pScene, IOSystem* pIOHandler)
{
// clean all member arrays
meshOffsets.clear();
embeddedTexIdxs.clear();
this->mScene = pScene; this->mScene = pScene;

View File

@ -1128,7 +1128,11 @@ void glTF2Importer::ImportEmbeddedTextures(glTF2::Asset& r)
} }
} }
void glTF2Importer::InternReadFile(const std::string& pFile, aiScene* pScene, IOSystem* pIOHandler) { void glTF2Importer::InternReadFile(const std::string& pFile, aiScene* pScene, IOSystem* pIOHandler)
{
// clean all member arrays
meshOffsets.clear();
embeddedTexIdxs.clear();
this->mScene = pScene; this->mScene = pScene;