Draft: Support elevation of LWPolylines in DXF importer

This commit is contained in:
Yorik van Havre 2016-09-26 22:18:45 -03:00
parent e4a086752f
commit 83c59bc697

View File

@ -1050,7 +1050,6 @@ bool CDxfRead::ReadLwPolyLine()
get_line();
strcpy(m_layer_name, m_str);
break;
case 10:
// x
get_line();
@ -1070,6 +1069,11 @@ bool CDxfRead::ReadLwPolyLine()
ss.str(m_str); ss >> y; y = mm(y); if(ss.fail()) return false;
y_found = true;
break;
case 38:
// elevation
get_line();
ss.str(m_str); ss >> z; z = mm(z); if(ss.fail()) return false;
break;
case 42:
// bulge
get_line();