diff --git a/src/osgPlugins/dxf/dxfFile.cpp b/src/osgPlugins/dxf/dxfFile.cpp index 95b8574aa..dc2e1192f 100644 --- a/src/osgPlugins/dxf/dxfFile.cpp +++ b/src/osgPlugins/dxf/dxfFile.cpp @@ -91,6 +91,7 @@ dxfFile::assign(codeValue& cv) _isNewSection = true; } else if (cv._groupCode == 0 && s == std::string("EOF")) { return 0; + } else if (cv._groupCode == 999) { // skip comments } else if (cv._groupCode == 2 && _isNewSection) { _isNewSection = false; // std::cout << "Reading section " << s << std::endl;