Well the problem u are adressing has nothing todo with my scenemanager. its a problem with the irrlicht sourcecode. and it could be easily addressed by just saving the iterator with the scenenode when adding just like i do it
void COcttreeManager::OcttreeAnimator::setNode(OcttreeNode* node)
{
if (CurrentNode == node)
return;
if (CurrentNode)
{
CurrentNode->SceneNodes.erase(IT);
}
CurrentNode = node;
if (CurrentNode)
{
CurrentNode->SceneNodes.push_back(this);
IT = CurrentNode->SceneNodes.getLast();
}
}
that way i don't have to iterate
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.