Eagle import: do not call TrimWire() on imported schematics
It turns out that TrimWire() may remove legit Eagle wires and effectively change the netlist.
This commit is contained in:
parent
1f09990618
commit
2af51ef20f
|
@ -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 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 ) )
|
if( GetScreen()->IsJunctionNeeded( *i, true ) )
|
||||||
AddJunction( *i, true );
|
AddJunction( *i, true );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue