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/OnlineCullingCHC/OGRE/src/OgreBvHierarchySceneManager.cpp

    r2115 r2123  
    13541354        while (pit.HasMoreEntries()) 
    13551355        {                
    1356                 GtpVisibilityPreprocessor::ObjectPvsEntry entry = pit.Next(); 
    1357  
    1358                 if (entry.mObject) 
    1359                 { 
    1360                         OgreMeshInstance *omi = static_cast<OgreMeshInstance *>(entry.mObject); 
     1356                GtpVisibilityPreprocessor::Intersectable *entry = pit.Next(); 
     1357 
     1358                if (entry) 
     1359                { 
     1360                        OgreMeshInstance *omi = static_cast<OgreMeshInstance *>(entry); 
    13611361                        omi->GetEntity()->setVisible(load); 
    13621362                } 
Note: See TracChangeset for help on using the changeset viewer.