Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10247 in orxonox.OLD


Ignore:
Timestamp:
Jan 17, 2007, 10:54:18 AM (18 years ago)
Author:
patrick
Message:

mount points now get loaded but not yet displayed

Location:
branches/mount_points/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/lib/graphics/importer/oif/object_information_file.cc

    r10246 r10247  
    147147void ObjectInformationFile::load(const std::string& fileName)
    148148{
    149   PRINTF(0)("loading\n");
    150149  this->data = OIFData::Pointer(new OIFData(fileName));
    151150}
  • branches/mount_points/src/world_entities/mount_point.cc

    r10243 r10247  
    9393      std::string name = element->Value();
    9494
     95      PRINTF(5)("checking %s against local %s\n", name.c_str(), this->_name.c_str());
    9596      // check if we got the right mount point
    96       if( name == this->_name)
     97      if( this->_name.find(name, 0) != std::string::npos)
    9798      {
     99        PRINTF(5)("found mount point %s\n", this->_name.c_str());
    98100        // load it
    99101        this->loadParam(element);
Note: See TracChangeset for help on using the changeset viewer.