Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2005, 2:58:57 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: objectManager first implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/objectmanager/src/world_entities/world_entity.cc

    r6005 r6089  
    5353
    5454  this->setVisibiliy(true);
     55
     56  this->objectListNumber = OM_INIT;
     57  this->objectListIterator = NULL;
     58
     59  ObjectManager::getInstance()->toList(this, OM_NULL);
    5560}
    5661
     
    6772  for (unsigned int i = 0; i < this->models.size(); i++)
    6873    this->setModel(NULL, i);
     74
     75  ObjectManager::getInstance()->toList(this, OM_INIT);
    6976}
    7077
     
    95102{
    96103  if (fileName != NULL)
    97   { 
     104  {
    98105    // search for the special character # in the LoadParam
    99106    if (strchr(fileName, '#') != NULL)
Note: See TracChangeset for help on using the changeset viewer.