Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9825 in orxonox.OLD for branches


Ignore:
Timestamp:
Sep 26, 2006, 12:50:47 AM (18 years ago)
Author:
bensch
Message:

colors are ok now, but the speed really sucks… strange

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/graphics/importer/md2/resource_md2.cc

    r9824 r9825  
    1313  if (ptr)
    1414  {
    15     PRINTF(5)("FOUND MD2: %s\n", modelName.c_str());
     15    PRINTF(0)("FOUND MD2: %s\n", modelName.c_str());
    1616    this->acquireData(static_cast<ResourceMD2::MD2ResourcePointer*>(ptr)->ptr());
    1717  }
    1818  else
    1919  {
    20     PRINTF(5)("NOT FOUND MD2: %s\n", modelName.c_str());
     20    PRINTF(0)("NOT FOUND MD2: %s\n", modelName.c_str());
    2121    std::string modelFileName = this->NewResource::locateFile(modelName);
    22     std::string skinFileName = this->NewResource::locateFile(skinName);
    23     this->MD2Model::load(modelFileName, skinFileName, scale);
     22    //std::string skinFileName = this->NewResource::locateFile(skinName);
     23    this->MD2Model::load(modelFileName, skinName, scale);
    2424    this->NewResource::addResource(new ResourceMD2::MD2ResourcePointer(loadString(modelName, skinName, scale), Resources::KeepLevel(0), this->MD2Model::dataPointer()));
    2525  }
Note: See TracChangeset for help on using the changeset viewer.