2b387ae9c3
This change reverts the storage of all symbol instance data in the root schematic. This was done because it's not possible to reuse instance data when importing from sub-sheets. There has been a fundamental change in how sheet paths are store in the instance data. The root schematic UUID is always used when saving the instance data. To prevent file churn, the virtual root sheet UUID is set to the root schematic UUID when loading the project. This provides a way to determine the project that stored the instance data. All uses of paths without root sheet have been expunged from the code. The sheet instance data is still saved only in the root sheet for the time being. New sheet instances will be automatically assigned an page number based on the incremental virtual sheet page number. Sheet page numbers will not be imported. Added project name to instance data to improve the readability of the schematic file format. It also creates an opportunity to remove orphaned instance data by project name rather than cryptic UUIDs. Fixes https://gitlab.com/kicad/code/kicad/-/issues/12472 |
||
---|---|---|
.. | ||
sch_legacy_lib_plugin_cache.cpp | ||
sch_legacy_lib_plugin_cache.h | ||
sch_legacy_plugin.cpp | ||
sch_legacy_plugin.h | ||
sch_legacy_plugin_helpers.cpp | ||
sch_legacy_plugin_helpers.h |