Changeset 1247 for GTP/trunk/App/Demos/Vis
- Timestamp:
- 08/21/06 03:36:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp
r1238 r1247 226 226 227 227 //-- load the scene from specified file 228 228 229 if (!LoadScene(mFilename)) 229 230 LogManager::getSingleton().logMessage("error loading scene"); … … 255 256 LogManager::getSingleton().logMessage("error: no visibility scenemanager available"); 256 257 } 258 257 259 // set camera position accordingly 258 260 mCamNode->setPosition(v); … … 768 770 769 771 // load iv files 770 LoadSceneIV(fn, mSceneMgr->getRootSceneNode(), i); 772 if (!LoadSceneIV(fn, mSceneMgr->getRootSceneNode(), i)) 773 { 774 // terrain hack 775 msShowHillyTerrain = true; 776 LogManager::getSingleton().logMessage("error loading scene. loading terrain instead"); 777 } 771 778 } 772 779 else if (strstr(filename.c_str(), ".dae"))
Note: See TracChangeset
for help on using the changeset viewer.