Changeset 3119 in orxonox.OLD for orxonox/branches/images/importer/material.cc
- Timestamp:
- Dec 6, 2004, 11:43:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/images/importer/material.cc
r3115 r3119 168 168 if (verbose >= 3) 169 169 printf("setting Material Name to %s.\n", mtlName); 170 name = new char [strlen(mtlName) ];170 name = new char [strlen(mtlName)+1]; 171 171 strcpy(name, mtlName); 172 172 // printf ("adding new Material: %s, %p\n", this->getName(), this);
Note: See TracChangeset
for help on using the changeset viewer.