Changeset 10201 in orxonox.OLD for branches/mount_points/src/world_entities/world_entity.cc
- Timestamp:
- Jan 10, 2007, 11:14:32 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/world_entities/world_entity.cc
r10185 r10201 209 209 { 210 210 this->setModel(model, modelNumber); 211 PRINTF(0)("model number: %i\n", modelNumber); 212 211 213 if( modelNumber == 0) 212 214 { … … 279 281 280 282 // first get all mount points from the model 281 std::list<mountPointSkeleton> mpList = this->getModel( 0)->getMountPoints();283 std::list<mountPointSkeleton> mpList = this->getModel()->getMountPoints(); 282 284 // for each skeleton create a mounting point world entity 283 285 std::list<mountPointSkeleton>::const_iterator it = mpList.begin(); 284 286 287 PRINTF(0)("->>>> size: %i\n", mpList.size()); 288 285 289 for( ; it != mpList.end(); it++) 286 290 { 287 MountPoint* mp = new MountPoint( (*it).up, (*it).forward, (*it).center, (*it).name);288 289 std::string nrStr = (*it).name.substr(1, 2); ;291 MountPoint* mp = new MountPoint( (*it).up, (*it).forward, (*it).center, (*it).name); 292 293 std::string nrStr = (*it).name.substr(1, 2); 290 294 291 295 PRINTF(0)("got mp nr: %s\n", nrStr.c_str()); … … 297 301 this->oiFile = new ObjectInformationFile(fileName); 298 302 303 PRINTF(0)("\n"); 299 304 300 305
Note: See TracChangeset
for help on using the changeset viewer.