Changeset 721 for GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/LBBCLeafDistributionSerializer.cpp
- Timestamp:
- 03/31/06 17:29:32 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/LBBCLeafDistributionSerializer.cpp
r699 r721 7 7 : BBC::EntityDistributionSerializer() 8 8 { 9 mEntity = new BBC::Entity(); 9 10 10 } 11 11 12 12 LeafDistributionSerializer::~LeafDistributionSerializer() 13 13 { 14 delete mEntity; 14 15 15 } 16 16 … … 94 94 for (unsigned int k=0; k < mLeafDistribution->getNumEntities(); k++) 95 95 { 96 Leaf *leaf = (Leaf *)mLeafDistribution->getEntity(k) ;96 Leaf *leaf = (Leaf *)mLeafDistribution->getEntity(k).get(); 97 97 98 98 TiXmlNode *leafNode = leavesNode->ToElement()->InsertEndChild(TiXmlElement(Ogre::String("leaf").c_str()))->ToElement();
Note: See TracChangeset
for help on using the changeset viewer.