Ignore:
Timestamp:
06/16/05 18:13:33 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r115 r135  
    428428            _addOctreeNode( onode, mOctree ); 
    429429    } 
     430#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
     431        else // still update because bounding box may be different 
     432        { 
     433                onode -> getOctant() -> _updateBounds(); 
     434        } 
     435#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    430436} 
    431437 
     
    11721178                                                                           bool leaveTransparentsInQueue)//, bool useZPassQueue) 
    11731179{ 
     1180        // delete previously rendered objects from the render queue 
     1181        _deleteRenderedQueueGroups(leaveTransparentsInQueue); 
     1182 
    11741183        //Add stuff to be rendered; 
    11751184    NodeList::iterator it = octant->mNodes.begin(); 
     
    12111220        //-- the actual rendering 
    12121221        SceneManager::_renderVisibleObjects(); 
    1213         // delete all rendered objects from the render queue 
    1214         _deleteRenderedQueueGroups(leaveTransparentsInQueue); 
    12151222} 
    12161223#endif // GTP_VISIBILITY_MODIFIED_OGRE 
Note: See TracChangeset for help on using the changeset viewer.