Handle blind/buried vias in connectivity

This commit is contained in:
Seth Hillbrand 2020-08-13 20:14:23 -07:00
parent ab17f4b7b5
commit b351bec0d7
1 changed files with 2 additions and 1 deletions

View File

@ -263,7 +263,8 @@ CN_ITEM* CN_LIST::Add( ARC* aArc )
m_items.push_back( item );
item->AddAnchor( via->GetStart() );
item->SetLayers( LAYER_RANGE( F_Cu, B_Cu ) );
item->SetLayers( LAYER_RANGE( via->TopLayer(), via->BottomLayer() ) );
addItemtoTree( item );
SetDirty();
return item;