Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 18, 2007, 6:03:54 PM (18 years ago)
Author:
landauf
Message:

added some randomly generated (rotating) asteroids

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/Model.cc

    r614 r622  
    2525        WorldEntity::loadParams(xmlElem);
    2626
    27         if (xmlElem->Attribute("mesh"))
    28         {
    29                 std::string src = xmlElem->Attribute("mesh");
    30                 this->mesh_.setMesh(src);
    31                     this->attachObject(this->mesh_.getEntity());
     27        if (xmlElem->Attribute("mesh"))
     28        {
     29            std::string src = xmlElem->Attribute("mesh");
     30            this->mesh_.setMesh(src);
     31            this->attachObject(this->mesh_.getEntity());
    3232        }
    3333
Note: See TracChangeset for help on using the changeset viewer.