setWorldGeometry change?

EagleEye

01-04-2006 06:49:22

Has something changed with setWorldGeometry?

I am getting an assertion error on line 323 of OgrePagingLandscapeSceneManager.cpp

void PagingLandScapeSceneManager::_updateSceneGraph(Camera * cam)
{
// entry into here could come before setWorldGeometry
// got called which could be disastrous
// so check for init
This line>>>>>> assert(mPageManager);
if (isRenderQueueToBeProcessed(mPageManager->getPageRenderQueue()))
{
if (mWorldGeomIsInit)
{
mPageManager->updatePaging (static_cast<PagingLandScapeCamera *> (cam));
}
else
...


I haven't changed anything, and according to the comments, this will happen if setWorldGeometry has not been called yet, but it has. It worked before...

The only thing I can think of is maybe the landscape stuff isn't loading right, and erroring off, meaning the worldgeometry isn't being loaded properly...

I'll check in to it, but please let me know if something has changed.

EagleEye

01-04-2006 06:52:57

Bah, nevermind... the resource group couldn't be found, so it never got done setting the world geometry up... *sigh*