Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2010, 9:02:48 AM (14 years ago)
Author:
scheusso
Message:

some changes regarding lod:

  • added lodtemplate in different levels
  • trying to avoid sigabrt's because of models with too much lod levels
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/orxonox/Level.cc

    r6961 r7036  
    145145    {
    146146        std::string meshName = lodInformation->getMeshName();
    147         this->lodInformation_.insert(std::make_pair(meshName,lodInformation));
     147//         this->lodInformation_.insert(std::make_pair(meshName,lodInformation));
     148        if( this->lodInformation_.find(meshName) != this->lodInformation_.end())
     149          CCOUT(4) << "replacing lod information for " << meshName << endl;
     150        this->lodInformation_[meshName] = lodInformation;
    148151    }
    149152
Note: See TracChangeset for help on using the changeset viewer.