Changeset 4462 in orxonox.OLD for orxonox/trunk/src/lib/graphics
- Timestamp:
- Jun 2, 2005, 12:50:37 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/md2Model.cc
r4461 r4462 81 81 { 82 82 /* this creates the data container via ressource manager */ 83 this->data = new MD2Data(modelFileName,skinFileName);83 this->data = (MD2Data*)ResourceManager::getInstance()->load(modelFileName, MD2, RP_GAME, (void*)skinFileName); 84 84 this->scaleFactor = this->data->scaleFactor; 85 85 … … 94 94 MD2Model::~MD2Model() 95 95 { 96 96 ResourceManager::getInstance()->unload(this->data); 97 97 } 98 98
Note: See TracChangeset
for help on using the changeset viewer.