Ignore:
Timestamp:
10/02/06 08:38:25 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1545 r1548  
    26892689        } 
    26902690 
    2691 if (mUsePredefinedViewCells) return 0; 
    26922691        ////////////////// 
    26932692        //-- merge leaves of the view cell hierarchy     
     
    31973196        mBspTree->CollectLeaves(leaves); 
    31983197        vector<BspLeaf *>::const_iterator lit, lit_end = leaves.end(); 
    3199          
     3198        ViewCell::NewMail(); 
     3199 
    32003200        for (lit = leaves.begin(); lit != lit_end; ++ lit) 
    32013201        { 
     
    32033203                ViewCell *vc = leaf->GetViewCell(); 
    32043204 
    3205                 vc->SetMergeCost(0.0f); 
    3206                 vcRoot->SetupChildLink(vc); 
    3207          
    3208                 volume += vc->GetVolume(); 
    3209                 volume += vc->GetVolume();       
    3210  
    3211                 vcRoot->SetVolume(volume); 
     3205                if (!vc->Mailed()) 
     3206                { 
     3207                        vc->Mail(); 
     3208                        vc->SetMergeCost(0.0f); 
     3209                        vcRoot->SetupChildLink(vc); 
     3210 
     3211                        volume += vc->GetVolume(); 
     3212                        volume += vc->GetVolume();       
     3213                        vcRoot->SetVolume(volume); 
     3214                } 
    32123215        } 
    32133216         
Note: See TracChangeset for help on using the changeset viewer.