Changeset 9912 in orxonox.OLD for branches/network/src/lib/graphics/importer
- Timestamp:
- Nov 2, 2006, 4:34:52 PM (18 years ago)
- 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 452 452 this->loadModel(modelFileName); 453 453 this->loadSkin(skinFileName); 454 455 PRINTF(0)("model %s, skin %s\n", modelFileName.c_str(), skinFileName.c_str()); 454 456 } 455 457 -
branches/network/src/lib/graphics/importer/md2/resource_md2.cc
r9869 r9912 10 10 { 11 11 Resources::StorePointer* ptr = this->acquireResource(loadString(modelName, skinName, scale)); 12 12 13 13 if (ptr) 14 14 { … … 20 20 PRINTF(0)("NOT FOUND MD2: %s\n", modelName.c_str()); 21 21 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()); 23 24 this->MD2Model::load(modelFileName, skinName, scale); 24 this->Resource::addResource(new ResourceMD2::MD2ResourcePointer(loadString(modelName, skin Name, scale), keepLevel, this->MD2Model::dataPointer()));25 this->Resource::addResource(new ResourceMD2::MD2ResourcePointer(loadString(modelName, skinFileName, scale), keepLevel, this->MD2Model::dataPointer())); 25 26 } 26 27
Note: See TracChangeset
for help on using the changeset viewer.