Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2010, 2:29:27 PM (14 years ago)
Author:
kolibri7
Message:

implemented the XMLPort for additional lod information.

File:
1 edited

Legend:

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

    r6828 r6838  
    126126        this->objects_.push_back(object);
    127127        object->setGametype(this->getGametype());
    128         object->setLevel(this);
     128    object->setLevel(this);
    129129    }
    130130
     
    144144    void Level::addLodInfo(MeshLodInformation* lodInformation)
    145145    {
    146 //              std::pair<std::map<std::string,MeshLodInformation*>::iterator,bool> it
    147 //                  = new std::pair<lodInformation->getMeshName(),lodInformation>;
    148                 std::string meshName = lodInformation->getMeshName();
     146//        std::pair<std::map<std::string,MeshLodInformation*>::iterator,bool> it
     147//            = new std::pair<lodInformation->getMeshName(),lodInformation>;
     148        std::string meshName = lodInformation->getMeshName();
    149149        this->lodInformation_.insert(std::make_pair(meshName,lodInformation));
    150                 //this->lodInformation_[std::make_pair<meshName,lodInformation>);
     150        //this->lodInformation_[std::make_pair<meshName,lodInformation>);
    151151    }
    152152
    153     const MeshLodInformation* Level::getLodInfo(std::string meshName) const
     153    MeshLodInformation* Level::getLodInfo(std::string meshName) const
    154154    {
    155155        if(this->lodInformation_.find(meshName)!=this->lodInformation_.end())
Note: See TracChangeset for help on using the changeset viewer.