Ignore:
Timestamp:
06/08/06 01:48:22 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1004 r1005  
    166166                        float angle; 
    167167                                 
    168                         if (sscanf(ptr, "%f %f %f %f", &axis.x, &axis.y, &axis.z, &angle) == 4) 
     168                        if (sscanf(ptr, "%f %f %f", &axis.x, &axis.y, &axis.z, &angle) == 4) 
    169169                        { 
    170170                                rotm = new Matrix4x4(RotationAxisMatrix(axis, angle)); 
     
    274274        {  
    275275                MeshInstance *mi; 
     276 
     277                if (mCurrentMesh->mFaces.empty()) 
     278                        cout << "warning: empy mesh" << endl; 
    276279 
    277280                if (!mUsingMeshDefinition)  
     
    549552 
    550553  // todo 
    551   if (0 && element == "Material") { 
     554  if (element == "Material") { 
    552555          StartMaterial(attributes); 
    553556  } 
Note: See TracChangeset for help on using the changeset viewer.