Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5308 in orxonox.OLD for trunk/src/world_entities/environment.cc


Ignore:
Timestamp:
Oct 8, 2005, 12:32:52 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Fixed a reversive BUG in the ResourceManager:
Since resources, that depend on each other are loaded left tgo right they must be unlinked right to left… this cost me 3 hours.
What a luck i found this :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/environment.cc

    r5285 r5308  
    3434{
    3535  this->setClassID(CL_ENVIRONMENT, "Environment");
    36   this->model = (Model*)ResourceManager::getInstance()->load("models/ships/bolido.obj", OBJ, RP_CAMPAIGN);
     36  this->loadModel("models/ships/bolido.obj");
    3737
    3838/*  if(this->obbTree == NULL)
Note: See TracChangeset for help on using the changeset viewer.