- Timestamp:
- Feb 6, 2005, 4:04:01 PM (20 years ago)
- Location:
- orxonox/trunk/src/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/importer/model.cc
r3396 r3397 42 42 Model::~Model() 43 43 { 44 PRINTF( 0)("Deleting Model ");44 PRINTF(3)("Deleting Model "); 45 45 if (this->name) 46 46 { 47 PRINT( 0)("%s\n");47 PRINT(3)("%s\n", this->name); 48 48 delete []this->name; 49 49 } 50 50 else 51 PRINT( 0)("\n");52 53 PRINTF( 2)("Deleting display Lists.\n");51 PRINT(3)("\n"); 52 53 PRINTF(3)("Deleting display Lists.\n"); 54 54 Group* walker = this->firstGroup; 55 55 while (walker != NULL) … … 61 61 } 62 62 63 PRINTF( 2)("Deleting Materials.\n");63 PRINTF(3)("Deleting Materials.\n"); 64 64 if (this->material) 65 65 delete this->material; -
orxonox/trunk/src/importer/objModel.cc
r3396 r3397 112 112 this->name = new char[strlen(name)+1]; 113 113 strcpy(this->name, name); 114 115 114 if (this->material) 116 115 this->material->addTexturePath(this->objPath);
Note: See TracChangeset
for help on using the changeset viewer.