Ignore:
Timestamp:
02/26/07 18:49:46 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/HillyTerrain/OGRE/TestCullingTerrainApplication.cpp

    r2130 r2168  
    530530        mTerrainContentGenerator = new TerrainContentGenerator(mSceneMgr); 
    531531                 
    532         if (!msShowHillyTerrain) 
    533                 return; 
    534  
    535532        // if no objects in file, we generate new objects 
    536         if (!mTerrainContentGenerator->LoadObjects("objects.out")) 
     533        if (msShowHillyTerrain && !mTerrainContentGenerator->LoadObjects("objects.out")) 
    537534        { 
    538535                // the objects are generated randomly distributed over the terrain 
Note: See TracChangeset for help on using the changeset viewer.