Ignore:
Timestamp:
06/27/06 10:21:48 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/OgreRenderable.cpp

    r1055 r1062  
    3535        parentParticleSystem = sys; 
    3636        updateBounds(); 
    37         name = billboardset->getName(); 
     37        name = sys->getName(); 
    3838} 
    3939 
     
    136136                 break; 
    137137         case OGRE_RENDERABLETYPE_BILLBOARDSET: 
    138                 billboardSetRenderable->getParentSceneNode()->_updateBounds(); 
     138                /* billboardSetRenderable->getParentSceneNode()->_updateBounds(); 
    139139                 boundingBox = billboardSetRenderable->getWorldBoundingBox(true); 
    140                  boundingSphere = billboardSetRenderable->getWorldBoundingSphere(true); 
     140                 boundingSphere = billboardSetRenderable->getWorldBoundingSphere(true);*/ 
     141                 parentParticleSystem->getParentSceneNode()->_updateBounds(); 
     142                 boundingBox = parentParticleSystem->getWorldBoundingBox(true); 
     143                 boundingSphere = parentParticleSystem->getWorldBoundingSphere(true); 
    141144                 break; 
    142145        default: 
Note: See TracChangeset for help on using the changeset viewer.