Sarev0k
02-02-2006 06:33:12
Hello, I'm using the PLSM for the project I'm working on and there is some time that passes between when I start the application and when I wish to setWorldGeometry (load a map). At the beginning of my application, I just want to render the GUI, and give the user a choice of which map he loads.
The problem I'm eperiencing is a nasty assert that occurs every time I try to render the scene inside of ogrepaginglandscapescenemanager.cpp inside the _updateSceneGraph method reading the following
Should I call setWorldGeometry and just pass in a blank string to accomplish the functionality I desire or is there some other method I'm not aware of?
Thanks
The problem I'm eperiencing is a nasty assert that occurs every time I try to render the scene inside of ogrepaginglandscapescenemanager.cpp inside the _updateSceneGraph method reading the following
void PagingLandScapeSceneManager::_updateSceneGraph(Camera * cam)
{
// entry into here could come before setWorldGeometry
// got called which could be disastrous
// so check for init
assert(mPageManager);
Should I call setWorldGeometry and just pass in a blank string to accomplish the functionality I desire or is there some other method I'm not aware of?
Thanks