I tried to put my own level loader (it is named "ODFL loader") into one of a game a friend of mine wrote. Usually, ODFL loader loads the level with simple irrlicht test programs I wrote. However, with this game, it failed with a memory bug:
Code: Select all
==16830== by 0x430A980: irr::scene::CAnimatedMeshSceneNode::setJointMode(irr::scene::E_JOINT_UPDATE_ON_RENDER) (CAnimatedMeshSceneNode.cpp:892)
Code: Select all
scene::IAnimatedMesh *level = smgr->getMesh("testlevel.odfl");
nodeList.push_back(smgr->addAnimatedMeshSceneNode(level)); // <- HERE
Code: Select all
scene::IAnimatedMesh* level = smgr->getMesh("testlevel.odfl");
odflnode = smgr->addOctTreeSceneNode(level->getMesh(0));
Thank you a lot for any help!
- Johannes