Changeset 10488 in orxonox.OLD for trunk/src/lib/graphics/importer/md2/resource_md2.cc
- Timestamp:
- Jan 30, 2007, 12:11:35 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.