Fix GenerateGraph call

pull/5169/head
Alex 2023-07-03 12:33:01 +00:00
parent 2c323ab406
commit 994fe66bb7
1 changed files with 1 additions and 1 deletions

View File

@ -1290,7 +1290,7 @@ void IRRImporter::InternReadFile(const std::string &pFile, aiScene *pScene, IOSy
// Now process our scene-graph recursively: generate final
// meshes and generate animation channels for all nodes.
unsigned int defMatIdx = UINT_MAX;
GenerateGraph(root, tempScene->mRootNode, tempScene,
GenerateGraph(root, tempScene->mRootNode, tempScene.get(),
batch, meshes, anims, attach, materials, defMatIdx);
if (!anims.empty()) {