Changeset 10488 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Jan 30, 2007, 12:11:35 AM (18 years ago)
- Location:
- trunk/src/lib/graphics/importer/md2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/md2/md2Model.cc
r10114 r10488 91 91 this->data = ResourceMD2(modelFileName, skinFileName, scale).data; 92 92 rebuildInfo(); 93 94 this->debug();95 93 } 96 94 … … 462 460 this->loadModel(modelFileName); 463 461 this->loadSkin(skinFileName); 464 465 PRINTF(0)("model %s, skin %s\n", modelFileName.c_str(), skinFileName.c_str());466 462 } 467 463 -
trunk/src/lib/graphics/importer/md2/resource_md2.cc
r10114 r10488 13 13 if (ptr) 14 14 { 15 PRINTF( 0)("FOUND MD2: %s\n", modelName.c_str());15 PRINTF(4)("FOUND MD2: %s\n", modelName.c_str()); 16 16 this->acquireData(static_cast<ResourceMD2::MD2ResourcePointer*>(ptr)->ptr()); 17 17 } 18 18 else 19 19 { 20 PRINTF( 0)("NOT FOUND MD2: %s\n", modelName.c_str());20 PRINTF(4)("NOT FOUND MD2: %s\n", modelName.c_str()); 21 21 std::string modelFileName = this->Resource::locateFile(modelName); 22 22 std::string skinFileName = this->Resource::locateFile(skinName); 23 PRINTF( 0)("NEW %s::%s\n", modelName.c_str(), modelFileName.c_str());23 PRINTF(4)("NEW %s::%s\n", modelName.c_str(), modelFileName.c_str()); 24 24 this->MD2Model::load(modelFileName, skinName, scale); 25 25 this->Resource::addResource(new ResourceMD2::MD2ResourcePointer(loadString(modelName, skinFileName, scale), keepLevel, this->MD2Model::dataPointer()));
Note: See TracChangeset
for help on using the changeset viewer.