Changeset 2123 for GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
- Timestamp:
- 02/17/07 22:48:12 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
r2116 r2123 3387 3387 while (oit.HasMoreEntries()) 3388 3388 { 3389 const ObjectPvsEntry &entry = oit.Next(); 3390 BvhNode *obj = static_cast<BvhNode *>(entry.mObject); 3389 BvhNode *obj = static_cast<BvhNode *>(oit.Next()); 3391 3390 3392 3391 if (!obj->IsRoot()) … … 3411 3410 } 3412 3411 } 3413 3412 3413 PvsData pvsData; 3414 3414 oit = leaf->GetViewCell()->GetPvs().GetIterator(); 3415 3415 3416 3416 while (oit.HasMoreEntries()) 3417 3417 { 3418 const ObjectPvsEntry &entry = oit.Next(); 3419 BvhNode *obj = static_cast<BvhNode *>(entry.mObject); 3418 BvhNode *obj = static_cast<BvhNode *>(oit.Next(pvsData)); 3420 3419 3421 3420 if (!obj->IsRoot()) … … 3426 3425 if (!parent->Mailed(1)) 3427 3426 { 3428 newPvs.AddSampleDirty(obj, entry.mData.mSumPdf);3427 newPvs.AddSampleDirty(obj, pvsData.mSumPdf); 3429 3428 } 3430 3429 }
Note: See TracChangeset
for help on using the changeset viewer.