Fix Eagle schematic import debug assertion.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13215
This commit is contained in:
parent
314c813aca
commit
e68bb16a28
|
@ -706,9 +706,7 @@ void SCH_EAGLE_PLUGIN::loadSchematic( wxXmlNode* aSchematicNode )
|
|||
|
||||
// There is always at least a root sheet.
|
||||
m_sheetPath.push_back( m_rootSheet );
|
||||
|
||||
SCH_SHEET_PATH rootPath;
|
||||
rootPath.SetPageNumber( wxT( "1" ) );
|
||||
m_sheetPath.SetPageNumber( wxT( "1" ) );
|
||||
|
||||
int sheetCount = countChildren( sheetNode->GetParent(), wxT( "sheet" ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue