problem using plsm cvs version

ghiboz

30-05-2007 07:39:12

hi!
i compiled the plsm2 plugin in release mode, no error, all ok!
i copied the dll in the release folder of my project
i added this line to the plugins.cfg file
Plugin=Plugin_PagingLandScapeSceneManager2
i changed the create scene manager mode
mSceneMgr = mRoot->createSceneManager("PagingLandScapeSceneManager", "PagingLandScapeDemo" );
i compiled and run the project, and this error appears:
Unhandled exception at 0x0946e4fa (Plugin_PagingLandScapeSceneManager2.dll) in gRally.exe: 0xC0000005: Access violation reading location 0x000000b8.
the cursor is blocked here:

void PagingLandScapeSceneManager::_updateSceneGraph(Camera * cam)
{
// entry into here could come before setWorldGeometry
// got called which could be disastrous
// so check for init
assert(mPageManager);
if (isRenderQueueToBeProcessed(mPageManager->getPageRenderQueue()))

the mPageManager has all 0 or null values

thanks everyone!

Jon

30-05-2007 16:37:25

Did you call setWorldGeometry()?