Fix redundant via removal code

This commit is contained in:
Heikki Pulkkinen 2016-12-07 17:14:41 +01:00 committed by Maciej Suminski
parent 29ab646e7c
commit f660771ecf
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ bool TRACKS_CLEANER::clean_vias()
/* Important: these cleanups only do thru hole vias, they don't /* Important: these cleanups only do thru hole vias, they don't
* (yet) handle high density interconnects */ * (yet) handle high density interconnects */
if( via->GetViaType() != VIA_THROUGH ) if( via->GetViaType() == VIA_THROUGH )
{ {
modified |= remove_duplicates_of_via( via ); modified |= remove_duplicates_of_via( via );