Ignore:
Timestamp:
01/19/06 14:49:56 (18 years ago)
Author:
mattausch
Message:

fixed bug in finalizeviewcells when loading view cells

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellsManager.cpp

    r554 r555  
    259259                Finalize(*it, createMesh); 
    260260        } 
     261 
     262        mTotalAreaValid = false; 
    261263} 
    262264 
     
    24732475        mVspBspTree->mBox = GetViewSpaceBox(); 
    24742476        ResetViewCells(); 
    2475         CreateViewCellMeshes(); 
     2477         
     2478        mViewCellsFinished = true; 
     2479 
     2480        FinalizeViewCells(true); 
    24762481 
    24772482        Debug << (int)mViewCells.size() << " view cells loaded" << endl; 
    2478  
    2479         mViewCellsFinished = true; 
    24802483 
    24812484        return success; 
     
    25292532 
    25302533 
    2531 void VspBspViewCellsManager::Finalize(ViewCell *viewCell) 
     2534void VspBspViewCellsManager::Finalize(ViewCell *viewCell, const bool createMesh) 
    25322535{ 
    25332536        BspViewCell *vc = dynamic_cast<BspViewCell *>(viewCell); 
Note: See TracChangeset for help on using the changeset viewer.