Changeset 3398 in orxonox.OLD for orxonox/trunk/src/importer/objModel.cc
- Timestamp:
- Feb 6, 2005, 11:02:45 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/importer/objModel.cc
r3397 r3398 109 109 PRINTF(0)("Resolved file %s.\n", name); 110 110 111 if (this->name) delete this->name; 112 this->name = new char[strlen(name)+1]; 113 strcpy(this->name, name); 111 this->setName(name); 114 112 if (this->material) 115 113 this->material->addTexturePath(this->objPath);
Note: See TracChangeset
for help on using the changeset viewer.