|
|
@@ -506,7 +506,7 @@ void DXFImporter::ParseBlock(DXF::LineReader& reader, DXF::FileData& output)
|
|
|
Parse3DFace(++reader, output);
|
|
|
continue;
|
|
|
}
|
|
|
- ++reader;
|
|
|
+ ++reader;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -683,12 +683,12 @@ void DXFImporter::ParsePolyLine(DXF::LineReader& reader, DXF::FileData& output)
|
|
|
line.indices.push_back(i*2);
|
|
|
line.indices.push_back(i*2+1);
|
|
|
line.counts.push_back(2);
|
|
|
- }
|
|
|
+ }
|
|
|
|
|
|
// closed polyline?
|
|
|
if (line.flags & DXF_POLYLINE_FLAG_CLOSED) {
|
|
|
line.indices.push_back(line.positions.size()-1);
|
|
|
- line.indices.push_back(0);
|
|
|
+ line.indices.push_back(0);
|
|
|
line.counts.push_back(2);
|
|
|
}
|
|
|
}
|