Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10312 in orxonox.OLD


Ignore:
Timestamp:
Jan 23, 2007, 11:47:39 PM (17 years ago)
Author:
patrick
Message:

removed debug output

Location:
branches/mount_points/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/lib/graphics/importer/static_model.cc

    r10311 r10312  
    116116
    117117
    118     PRINTF(0)("Found a MountPoint: %s\n", groupName.c_str());
     118    PRINTF(5)("Found a MountPoint: %s\n", groupName.c_str());
    119119
    120120    StaticModelData::Face triangle[3];
    121121
    122122    // now check if it is a mount point identifier
    123     if( (*groupIt)._faces.size() != 9)
     123    if( (*groupIt)._faces.size() != 11)
    124124    {
    125125      PRINTF(1)("the face count of %s is wrong, perhaps you missnamed this object or used the wrong mount point object (got %i faces)\n",
     
    134134      {
    135135        triangle[i++] = (*faceIt);
    136         printf("got triangle\n");
    137136      }
    138137    }
  • branches/mount_points/src/world_entities/mount_point.cc

    r10302 r10312  
    3434MountPoint::MountPoint (const Vector& up, const Vector& forward, const Vector& center, const std::string& name)
    3535{
    36   PRINTF(0)("Created mount point %s\n", name.c_str());
     36  PRINTF(5)("Created mount point %s\n", name.c_str());
    3737
    3838  this->_name = name;
     
    9393      std::string name = element->Value();
    9494
    95       PRINTF(0)("checking %s against local %s\n", name.c_str(), this->_name.c_str());
     95      PRINTF(5)("checking %s against local %s\n", name.c_str(), this->_name.c_str());
    9696      // check if we got the right mount point
    9797      if( this->_name.find(name, 0) != std::string::npos)
  • branches/mount_points/src/world_entities/world_entity.cc

    r10248 r10312  
    279279void WorldEntity::loadMountPoints( Model* model, const std::string& fileName)
    280280{
    281   PRINTF(0)("loading the oif File: %s\n", fileName.c_str());
     281  PRINTF(5)("loading the oif File: %s\n", fileName.c_str());
    282282
    283283  // now load the object information file
     
    379379  else if( this->mountPoints[slot] != NULL)
    380380  {
    381     PRINTF(0)("adding a mount point to a slot, that already is occupied! ignoring - maybe some object did not get connected well (object: %s)\n", this->getClassCName());
     381    PRINTF(4)("adding a mount point to a slot, that already is occupied! ignoring - maybe some object did not get connected well (object: %s)\n", this->getClassCName());
    382382  }
    383383
Note: See TracChangeset for help on using the changeset viewer.