Ignore:
Timestamp:
07/04/05 17:57:51 (19 years ago)
Author:
mattausch
Message:

added item buffer queries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeSceneManager.cpp

    r139 r154  
    318318#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    319319        mNumOctreeNodes = 1; 
     320        mOctree->setId(mNumOctreeNodes); 
    320321#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    321322    mMaxDepth = depth; 
     
    468469            octant -> mChildren[ x ][ y ][ z ] = new Octree( octant ); 
    469470#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    470         mNumOctreeNodes ++; 
     471        mOctree->setId(++ mNumOctreeNodes); 
    471472#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    472473 
     
    10321033#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    10331034        mNumOctreeNodes = 1; 
     1035        mOctree->setId(mNumOctreeNodes); 
    10341036#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    10351037    mOctree->mBox = box; 
Note: See TracChangeset for help on using the changeset viewer.