I use
std::list<Camera*>::const_iterator camIter = world->cameras.begin();
while(camIter != world->cameras.end() ){
if ( (*camIter)->GetClassName() == "Camera" ){
camera=(*camIter);
}
camIter++;
}
if ( camera == NULL ) { // if the map did not provide a camera we create our own
camera = Camera::Create();
camera->Move(0,2,-5);
}
In place of the create camera code in App.cpp ( after loading the map ).
That last camera seems to be the one used, how ever there is no guarantee for this.