Ignore:
Timestamp:
02/08/07 11:42:53 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1816 r2101  
    260260 
    261261        // init view cell parameters 
    262         mSceneMgr->setOption("UseViewCells", &mUseViewCells); 
     262        //mSceneMgr->setOption("UseViewCells", &mUseViewCells); 
    263263        mSceneMgr->setOption("UseVisibilityFilter", &mUseVisibilityFilter); 
    264264 
     
    12211221 
    12221222        // load on demand 
    1223         if (mUseViewCells && !mViewCellsLoaded) 
    1224         { 
     1223        if (mUseViewCells)// && !mViewCellsLoaded) 
     1224        { 
     1225                LogManager::getSingleton().logMessage("using view cells"); 
    12251226                mLoadingOverlay->show(); 
    12261227 
     
    12301231                 
    12311232                if (!mViewCellsLoaded) 
    1232                 { 
    1233                         std::stringstream d; 
    1234                         d << "loading view cells failed"; 
    1235                         LogManager::getSingleton().logMessage(d.str()); 
    1236                 } 
    1237  
     1233                        LogManager::getSingleton().logMessage("loading view cells failed"); 
     1234                else 
     1235                        LogManager::getSingleton().logMessage("view cells successfully loaded"); 
     1236         
    12381237                mLoadingOverlay->hide(); 
    12391238        } 
Note: See TracChangeset for help on using the changeset viewer.