Fix polylines being skipped in DXF blocks
This commit is contained in:
parent
d50d728d19
commit
5607420339
|
@ -368,9 +368,6 @@ void DXF_IMPORT_PLUGIN::addLine( const DL_LineData& aData )
|
||||||
|
|
||||||
void DXF_IMPORT_PLUGIN::addPolyline(const DL_PolylineData& aData )
|
void DXF_IMPORT_PLUGIN::addPolyline(const DL_PolylineData& aData )
|
||||||
{
|
{
|
||||||
if( m_currentBlock != nullptr )
|
|
||||||
return;
|
|
||||||
|
|
||||||
// Convert DXF Polylines into a series of KiCad Lines and Arcs.
|
// Convert DXF Polylines into a series of KiCad Lines and Arcs.
|
||||||
// A Polyline (as opposed to a LWPolyline) may be a 3D line or
|
// A Polyline (as opposed to a LWPolyline) may be a 3D line or
|
||||||
// even a 3D Mesh. The only type of Polyline which is guaranteed
|
// even a 3D Mesh. The only type of Polyline which is guaranteed
|
||||||
|
|
|
@ -163,8 +163,6 @@ public:
|
||||||
bool m_bold;
|
bool m_bold;
|
||||||
bool m_italic;
|
bool m_italic;
|
||||||
|
|
||||||
GRAPHICS_IMPORTER_BUFFER m_buffer;
|
|
||||||
|
|
||||||
DXF_IMPORT_STYLE( wxString aName, double aTextHeight, double aWidthFactor, bool aBold, bool aItalic )
|
DXF_IMPORT_STYLE( wxString aName, double aTextHeight, double aWidthFactor, bool aBold, bool aItalic )
|
||||||
{
|
{
|
||||||
m_name = aName;
|
m_name = aName;
|
||||||
|
|
Loading…
Reference in New Issue