Code: Select all
scene::ISceneNode * Import_1 = smgr->addMeshSceneNode(smgr->getMesh("d:\\1_test.obj"));
Then i wrote another button that removes this mesh:
Code: Select all
Import_1->remove();
Code: Select all
scene::ISceneNode * Import_2_modified = smgr->addMeshSceneNode(smgr->getMesh("d:\\1_test.obj"));
Tried to:
Code: Select all
smgr->clear()
Maybe I`m not deleting something properly? Or it`s a bug?