- Timestamp:
- Feb 6, 2006, 4:26:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/md2Model.cc
r7055 r7058 77 77 MD2Model::MD2Model(const char* modelFileName, const char* skinFileName, float scale) 78 78 { 79 this->data->scaleFactor = scale; 80 this->scaleFactor = this->data->scaleFactor; 81 79 82 /* this creates the data container via ressource manager */ 80 83 this->data = (MD2Data*)ResourceManager::getInstance()->load(modelFileName, MD2, RP_GAME, skinFileName); 81 84 if( unlikely(this->data == NULL)) 82 85 PRINTF(0)("The model was not found, MD2Model Loader finished abnormaly. Update the data-repos\n"); 83 84 this->data->scaleFactor = scaleFactor;85 this->scaleFactor = this->data->scaleFactor;86 86 87 87 shadeDots = MD2Model::anormsDots[0];
Note: See TracChangeset
for help on using the changeset viewer.