Ignore:
Timestamp:
02/17/07 22:48:12 (17 years ago)
Author:
mattausch
Message:

worded on obj loading in Ogre

File:
1 edited

Legend:

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

    r2116 r2123  
    33873387                while (oit.HasMoreEntries()) 
    33883388                { 
    3389                         const ObjectPvsEntry &entry = oit.Next(); 
    3390                         BvhNode *obj = static_cast<BvhNode *>(entry.mObject); 
     3389                        BvhNode *obj = static_cast<BvhNode *>(oit.Next()); 
    33913390 
    33923391                        if (!obj->IsRoot()) 
     
    34113410                        } 
    34123411                } 
    3413                  
     3412 
     3413                PvsData pvsData; 
    34143414                oit = leaf->GetViewCell()->GetPvs().GetIterator(); 
    34153415 
    34163416                while (oit.HasMoreEntries()) 
    34173417                { 
    3418                         const ObjectPvsEntry &entry = oit.Next(); 
    3419                         BvhNode *obj = static_cast<BvhNode *>(entry.mObject); 
     3418                        BvhNode *obj = static_cast<BvhNode *>(oit.Next(pvsData)); 
    34203419 
    34213420                        if (!obj->IsRoot()) 
     
    34263425                                if (!parent->Mailed(1)) 
    34273426                                { 
    3428                                         newPvs.AddSampleDirty(obj, entry.mData.mSumPdf); 
     3427                                        newPvs.AddSampleDirty(obj, pvsData.mSumPdf); 
    34293428                                } 
    34303429                        } 
Note: See TracChangeset for help on using the changeset viewer.