- Timestamp:
- Sep 26, 2006, 12:50:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/importer/md2/resource_md2.cc
r9824 r9825 13 13 if (ptr) 14 14 { 15 PRINTF( 5)("FOUND MD2: %s\n", modelName.c_str());15 PRINTF(0)("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( 5)("NOT FOUND MD2: %s\n", modelName.c_str());20 PRINTF(0)("NOT FOUND MD2: %s\n", modelName.c_str()); 21 21 std::string modelFileName = this->NewResource::locateFile(modelName); 22 std::string skinFileName = this->NewResource::locateFile(skinName);23 this->MD2Model::load(modelFileName, skin FileName, scale);22 //std::string skinFileName = this->NewResource::locateFile(skinName); 23 this->MD2Model::load(modelFileName, skinName, scale); 24 24 this->NewResource::addResource(new ResourceMD2::MD2ResourcePointer(loadString(modelName, skinName, scale), Resources::KeepLevel(0), this->MD2Model::dataPointer())); 25 25 }
Note: See TracChangeset
for help on using the changeset viewer.