Wrong Spline "Closed" flag,
Closed flag filtered
diff --git a/dxflib/src/dl_dxf.cpp b/dxflib/src/dl_dxf.cpp
index 9933ad0..f04c416 100644
--- a/dxflib/src/dl_dxf.cpp
+++ b/dxflib/src/dl_dxf.cpp
@@ -928,6 +928,8 @@ void DL_Dxf::addSpline(DL_CreationInterface* creationInterface) {
toInt(values[70], 4));
/*DL_SplineData sd(toInt(values[71], 3), toInt(values[72], 0),
toInt(values[73], 0), toInt(values[70], 4));*/
+ std::cout<<"Spline flags= "<<sd.flags<<std::endl;
+ if( sd.flags == 11 ) sd.flags = 8;
creationInterface->addSpline(sd);
int i;