Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9912 in orxonox.OLD for branches/network/src/lib/graphics/importer


Ignore:
Timestamp:
Nov 2, 2006, 4:34:52 PM (18 years ago)
Author:
rennerc
Message:

still not working

Location:
branches/network/src/lib/graphics/importer/md2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/graphics/importer/md2/md2Model.cc

    r9869 r9912  
    452452  this->loadModel(modelFileName);
    453453  this->loadSkin(skinFileName);
     454 
     455  PRINTF(0)("model %s, skin %s\n", modelFileName.c_str(), skinFileName.c_str());
    454456}
    455457
  • branches/network/src/lib/graphics/importer/md2/resource_md2.cc

    r9869 r9912  
    1010{
    1111  Resources::StorePointer* ptr = this->acquireResource(loadString(modelName, skinName, scale));
    12 
     12 
    1313  if (ptr)
    1414  {
     
    2020    PRINTF(0)("NOT FOUND MD2: %s\n", modelName.c_str());
    2121    std::string modelFileName = this->Resource::locateFile(modelName);
    22     //std::string skinFileName = this->Resource::locateFile(skinName);
     22    std::string skinFileName = this->Resource::locateFile(skinName);
     23    PRINTF(0)("NEW %s::%s\n", modelName.c_str(), modelFileName.c_str());
    2324    this->MD2Model::load(modelFileName, skinName, scale);
    24     this->Resource::addResource(new ResourceMD2::MD2ResourcePointer(loadString(modelName, skinName, scale), keepLevel, this->MD2Model::dataPointer()));
     25    this->Resource::addResource(new ResourceMD2::MD2ResourcePointer(loadString(modelName, skinFileName, scale), keepLevel, this->MD2Model::dataPointer()));
    2526  }
    2627
Note: See TracChangeset for help on using the changeset viewer.