Dxf import: fix a bug that disable import of data inside blocks
This commit is contained in:
parent
a3e087ab51
commit
d3e2345f94
|
@ -332,10 +332,9 @@ void DXF_IMPORT_PLUGIN::endEntity()
|
||||||
|
|
||||||
void DXF_IMPORT_PLUGIN::addBlock( const DL_BlockData& aData )
|
void DXF_IMPORT_PLUGIN::addBlock( const DL_BlockData& aData )
|
||||||
{
|
{
|
||||||
// The DXF blocks are not useful in our import, so we skip them with the exception
|
// The DXF blocks are not useful in our import, so we skip the block id
|
||||||
// of the main block that is shown when editing the file
|
// because Pcbnew has no support to group a set of graphic items inside an entity
|
||||||
if( aData.name.compare( "*Model_Space") )
|
m_inBlock = false;
|
||||||
m_inBlock = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue