diff --git a/src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp b/src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp index e7ebda8c7..a57372f4e 100644 --- a/src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp +++ b/src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp @@ -66,6 +66,7 @@ class DxfPrimitiveIndexWriter : public osg::PrimitiveIndexFunctor { const osg::Matrix& m = osg::Matrix::identity(),bool writeTriangleAs3DFace = true) : osg::PrimitiveIndexFunctor(), _fout(fout), + _modeCache(0), _geo(geo), _layer(layer), _acad(acad),