Changeset 1548 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 10/02/06 08:38:25 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1545 r1548 2689 2689 } 2690 2690 2691 if (mUsePredefinedViewCells) return 0;2692 2691 ////////////////// 2693 2692 //-- merge leaves of the view cell hierarchy … … 3197 3196 mBspTree->CollectLeaves(leaves); 3198 3197 vector<BspLeaf *>::const_iterator lit, lit_end = leaves.end(); 3199 3198 ViewCell::NewMail(); 3199 3200 3200 for (lit = leaves.begin(); lit != lit_end; ++ lit) 3201 3201 { … … 3203 3203 ViewCell *vc = leaf->GetViewCell(); 3204 3204 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 } 3212 3215 } 3213 3216
Note: See TracChangeset
for help on using the changeset viewer.