- Timestamp:
- 02/26/07 18:49:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp
r2130 r2168 530 530 mTerrainContentGenerator = new TerrainContentGenerator(mSceneMgr); 531 531 532 if (!msShowHillyTerrain)533 return;534 535 532 // if no objects in file, we generate new objects 536 if ( !mTerrainContentGenerator->LoadObjects("objects.out"))533 if (msShowHillyTerrain && !mTerrainContentGenerator->LoadObjects("objects.out")) 537 534 { 538 535 // the objects are generated randomly distributed over the terrain
Note: See TracChangeset
for help on using the changeset viewer.