Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 29, 2005, 2:30:16 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: stones visible as such, and not as cubes… i do not quite know whu this has changed in this release, but i think i am going to bed now…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/world_entity.cc

    r4700 r4732  
    6767  if (this->model)
    6868    ResourceManager::getInstance()->unload(this->model, RP_LEVEL);
    69   this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_CAMPAIGN);
     69  if (fileName != NULL)
     70  {
     71    PRINTF(4)("loading %s\n", fileName);
     72    this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_CAMPAIGN);
     73  }
     74  else
     75    this->model = NULL;
    7076}
    7177
Note: See TracChangeset for help on using the changeset viewer.