Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10728 in orxonox.OLD for branches/presentation/src/lib


Ignore:
Timestamp:
Jun 20, 2007, 11:39:18 AM (17 years ago)
Author:
nicolasc
Message:

data bump

File:
1 edited

Legend:

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

    r10714 r10728  
    101101void StaticModel::extractMountPoints()
    102102{
    103   printf("extracting MP...");
     103//   printf("extracting MP...");
    104104  // go through all groups and check if they are mounts
    105105  std::vector<StaticModelData::Group>::iterator groupIt = this->data->getGroups().begin();
    106   for( ; groupIt != this->data->getGroups().end();)
     106  for( ; groupIt != this->data->getGroups().end(); groupIt++)
    107107  {
    108108    //PRINTF(0)("Found a MountPoint: %s\n", groupName.c_str());
     
    114114    // check if the name has a "MP" prefix or else it won't work
    115115    if( groupName.find("MP.", 0) == std::string::npos){
    116       groupIt++;
     116//       groupIt++;
    117117//       printf("Found MP:  ");
    118118      continue;
     
    129129                groupName.c_str(), (*groupIt)._faces.size());
    130130//       printf("wrong number of faces\n\n");
    131       groupIt++;
     131//       groupIt++;
    132132      continue;
    133133    }
     
    226226//     printf("removing item...");
    227227    // remove the group from the model list (mount points do not need to be drawn)
    228 //      std::vector<StaticModelData::Group>::iterator tmpIt =  groupIt;
    229      groupIt++;
     228     std::vector<StaticModelData::Group>::iterator tmpIt =  groupIt;
     229//      groupIt++;
    230230//     printf("   removing...");
    231 //      this->data->getGroups().erase(tmpIt);
     231     this->data->getGroups().erase(tmpIt);
    232232//     printf("   REMOVED\n");
    233233  }
Note: See TracChangeset for help on using the changeset viewer.