Show
Ignore:
Timestamp:
02/25/10 18:13:15 (4 years ago)
Author:
robert
Message:

From Simon Buckley, "Attached is a small change to the file src\osgPlugins\dxf\dxfFile.cpp that allows the dxf reader to skip comments in a dxf file. I found with the existing version and a test file I had that the loader failed when comments were present. I made a very minor change to allow "999" comment codes to be skipped rather than causing load failure."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/dxf/dxfFile.cpp

    r4801 r11112  
    9292    } else if (cv._groupCode == 0 && s == std::string("EOF")) { 
    9393        return 0; 
     94    } else if (cv._groupCode == 999) {    // skip comments 
    9495    } else if (cv._groupCode == 2 && _isNewSection) { 
    9596        _isNewSection = false;