Changeset 154 for trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeSceneManager.cpp
- Timestamp:
- 07/04/05 17:57:51 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeSceneManager.cpp
r139 r154 318 318 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 319 319 mNumOctreeNodes = 1; 320 mOctree->setId(mNumOctreeNodes); 320 321 #endif // GTP_VISIBILITY_MODIFIED_OGRE 321 322 mMaxDepth = depth; … … 468 469 octant -> mChildren[ x ][ y ][ z ] = new Octree( octant ); 469 470 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 470 m NumOctreeNodes ++;471 mOctree->setId(++ mNumOctreeNodes); 471 472 #endif // GTP_VISIBILITY_MODIFIED_OGRE 472 473 … … 1032 1033 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 1033 1034 mNumOctreeNodes = 1; 1035 mOctree->setId(mNumOctreeNodes); 1034 1036 #endif // GTP_VISIBILITY_MODIFIED_OGRE 1035 1037 mOctree->mBox = box;
Note: See TracChangeset
for help on using the changeset viewer.