Ignore:
Timestamp:
09/18/06 02:23:47 (18 years ago)
Author:
mattausch
Message:

debugging after merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/X3dParser.cpp

    r1379 r1404  
    250250                         for (tit = triangles.begin(); tit != tit_end; ++ tit) 
    251251                         { 
    252                                  cout << "triangle: " << *tit << endl; 
     252                                 //cout << "triangle: " << *tit << endl; 
    253253                                 TriangleIntersectable *ti = new TriangleIntersectable(*tit); 
    254254                                 mCurrentNode->mGeometry.push_back(ti); 
     
    292292                                 mCurrentNode->mGeometry.push_back(mi); 
    293293 
    294                                  if (mCurrentMaterial) 
     294                                 if (mCurrentMaterial && !mCurrentMesh->mMaterial) 
    295295                                 { 
    296296                                         // HACK: add the material to the mesh directly if no material yet 
    297                                          if (!mCurrentMesh->mMaterial) 
    298                                                  mCurrentMesh->mMaterial = mCurrentMaterial; 
     297                                         mCurrentMesh->mMaterial = mCurrentMaterial; 
    299298                                 } 
    300299                         } 
Note: See TracChangeset for help on using the changeset viewer.