[help] using setWorldGeometry function

kungfoomasta

04-11-2006 17:48:20

I mentioned this a little before, and it's more of a feature request than anything, but I want to call setWorldGeometry and pass it the name of a run-time cfg file, instead of the list of maps.

Basically, I want this to not crash my program:
mSceneManager->setWorldGeometry( Ogre::String("TsmTerrain.cfg") );

Ogre.log:

09:36:45: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: PagingLandScapeOptions::load
Description: You need to define a DefaultMap= .
File: ..\src\OgrePagingLandScapeOptions.cpp
Line: 307
Stack unwinding: <<beginning of stack>>


Can we modify how setWorldGeometry function works so that I can pass in individual files?

KungFooMasta

tuan kuranes

05-11-2006 13:22:15

it's on my todo list... be patient...
Octorber had been quite hard... I hope november will be better on Ogre free time...