Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5300 in orxonox.OLD for trunk/src/lib/graphics/importer


Ignore:
Timestamp:
Oct 7, 2005, 1:59:44 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: even less debug-info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/objModel.cc

    r5014 r5300  
    7575      strncpy(this->objPath, fileName, len);
    7676      this->objPath[len] = '\0';
    77       PRINTF(1)("Resolved file %s to Path %s.\n", fileName, this->objPath);
     77      PRINTF(4)("Resolved file %s to Path %s.\n", fileName, this->objPath);
    7878    }
    7979  else
     
    9494  if( (stream = fopen (fileName, "r")) == NULL)
    9595    {
    96       printf("Object File Could not be Opened %s\n", fileName);
     96      PRINTF(2)("Object File Could not be Opened %s\n", fileName);
    9797      return false;
    9898    }
     
    145145      else if (!strncmp(buffer, "s ", 2)) //! @todo smoothing groups have to be implemented
    146146        {
    147           PRINTF(2)("smoothing groups not supportet yet. line: %s\n", buffer);
     147          PRINTF(3)("smoothing groups not supportet yet. line: %s\n", buffer);
    148148        }
    149149    }
     
    153153
    154154/**
    155   *  Function to read in a mtl File.
    156   * @param mtlFile The .mtl file to read
    157 
    158     This Function parses all Lines of an mtl File.
    159     The reason for it not to be in the materials-class is,
    160     that a material does not have to be able to read itself in from a File.
    161 
    162 */
     155 * Function to read in a mtl File.
     156 * @param mtlFile The .mtl file to read
     157 *
     158 * This Function parses all Lines of an mtl File.
     159 * The reason for it not to be in the materials-class is,
     160 * that a material does not have to be able to read itself in from a File.
     161 */
    163162bool OBJModel::readMtlLib (const char* mtlFile)
    164163{
     
    170169    {
    171170      PRINTF(2)("MaterialLibrary could not be opened %s\n", fileName);
    172       delete []fileName;
     171      delete[] fileName;
    173172      return false;
    174173    }
Note: See TracChangeset for help on using the changeset viewer.