Browse Source
Eeschema: allow for partial schematic loading.
Eeschema: allow for partial schematic loading.
With the implementation of the legacy schematic plugin, any I/O error when parsing the schematics would prevent the entire schematic from being loaded. This change restores (somewhat) the previous behavior where as long as the root schematic is loaded properly, then all of the remaining sub-sheet will attempt to load. Add GetError() method the SCH_PLUGIN object to allow for partial schematic loading. Check the error message contents when no exception was caught to warn the user of any accumulated errors. Fixes lp:1690644 https://bugs.launchpad.net/kicad/+bug/1690644pull/5/merge
6 changed files with 86 additions and 19 deletions
-
18eeschema/files-io.cpp
-
14eeschema/sch_io_mgr.h
-
48eeschema/sch_legacy_plugin.cpp
-
7eeschema/sch_legacy_plugin.h
-
9eeschema/sch_plugin.cpp
-
9eeschema/sheet.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue