From 2af51ef20fa0f9e133e133fe6129c57bc13b8dcd Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Sun, 4 Mar 2018 17:56:58 +0100 Subject: [PATCH] Eagle import: do not call TrimWire() on imported schematics It turns out that TrimWire() may remove legit Eagle wires and effectively change the netlist. --- eeschema/files-io.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index 7be4665be3..6c5882dd8c 100644 --- a/eeschema/files-io.cpp +++ b/eeschema/files-io.cpp @@ -852,9 +852,6 @@ bool SCH_EDIT_FRAME::importFile( const wxString& aFileName, int aFileType ) for( auto i = pts.begin(); i != pts.end(); ++i ) { - for( auto j = i + 1; j != pts.end(); ++j ) - TrimWire( *i, *j, true ); - if( GetScreen()->IsJunctionNeeded( *i, true ) ) AddJunction( *i, true ); }