Ignore:
Timestamp:
10/13/06 05:14:34 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r1616 r1621  
    613613        if (success) 
    614614        { 
    615                 vm->ResetViewCells(); 
    616  
     615                //vm->ResetViewCells(); 
     616//hack 
     617vm->mViewCells.clear(); 
     618                        ViewCellContainer leaves; 
     619        vm->mViewCellsTree->CollectLeaves(vm->mViewCellsTree->GetRoot(), leaves); 
     620 
     621        ViewCellContainer::const_iterator it, it_end = leaves.end(); 
     622 
     623        for (it = leaves.begin(); it != it_end; ++ it) 
     624        { 
     625                vm->mViewCells.push_back(*it); 
     626        } 
    617627                vm->mViewCellsFinished = true; 
    618628                vm->mMaxPvsSize = (int)objects->size(); 
Note: See TracChangeset for help on using the changeset viewer.