Browse Source
Fix broken symbol reference designators on paste special.
Fix broken symbol reference designators on paste special.
It appears that in our zeal to prevent file changes when saving shared schematics, we (I) clobbered saving relative symbol instance data paths to the clipboard. This has be restored along with setting the correct symbol unit for relative clipboard paths. Fixed a serious issue with KIID_PATH::MakeRelativeTo() where the original path was not restored when the incremental KIID object test fails. This also included a minor optimization using the actual KIID object for comparison instead of converting it to a string and then comparing the string. Fixes https://gitlab.com/kicad/code/kicad/-/issues/15981newinvert
12 changed files with 211 additions and 56 deletions
-
7common/kiid.cpp
-
3eeschema/files-io.cpp
-
68eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp
-
2eeschema/sch_plugins/kicad/sch_sexpr_plugin.h
-
61eeschema/sch_screen.cpp
-
6eeschema/sch_screen.h
-
33eeschema/sch_sheet.cpp
-
4eeschema/sch_sheet.h
-
10eeschema/sch_symbol.cpp
-
2eeschema/sch_symbol.h
-
68eeschema/tools/sch_editor_control.cpp
-
3eeschema/tools/sch_editor_control.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue