Changeset 4889 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Jul 18, 2005, 10:27:16 PM (19 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/terrain.cc
r4855 r4889 39 39 this->loadParams(root); 40 40 41 SpatialSeparation*ssp = new SpatialSeparation((AbstractModel*)this->model, 10.0f);42 delete ssp;41 this->ssp = new SpatialSeparation((AbstractModel*)this->model, 10.0f); 42 // // delete ssp; 43 43 } 44 44 … … 83 83 if (objectList) 84 84 glDeleteLists(this->objectList, 1); 85 if( this->ssp) 86 delete ssp; 85 87 } 86 88 -
orxonox/trunk/src/world_entities/terrain.h
r4836 r4889 15 15 // FORWARD DEFINITION \\ 16 16 class TiXmlElement; 17 class SpatialSeparation; 17 18 18 19 //! A simple method to call a desired debug world. … … 38 39 private: 39 40 int objectList; 41 SpatialSeparation* ssp; 40 42 }; 41 43
Note: See TracChangeset
for help on using the changeset viewer.