Only FixupJunctions for Legacy designs

The new s-expression format embeds the library within the file
so there should be no connectivity issues (unless they were present
in the original design).

This fixes a potential issue with EAGLE imported schematics.
This commit is contained in:
Roberto Fernandez Bautista 2021-03-29 19:14:48 +01:00 committed by Wayne Stambaugh
parent c5e4220b5b
commit de1191f971
1 changed files with 2 additions and 1 deletions

View File

@ -583,7 +583,8 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
// colinear segments. If a schematic is saved without a valid
// cache library or missing installed libraries, this can cause connectivity errors
// unless junctions are added.
FixupJunctions();
if( schFileType == SCH_IO_MGR::SCH_LEGACY )
FixupJunctions();
SyncView();
GetScreen()->ClearDrawingState();