Restore missing layer check
This commit is contained in:
parent
188232de6f
commit
b31eafdfa8
|
@ -657,6 +657,9 @@ void CN_VISITOR::checkZoneZoneConnection( CN_ZONE_LAYER* aZoneLayerA, CN_ZONE_LA
|
|||
const auto zoneA = static_cast<const ZONE_CONTAINER*>( aZoneLayerA->Parent() );
|
||||
const auto zoneB = static_cast<const ZONE_CONTAINER*>( aZoneLayerB->Parent() );
|
||||
|
||||
if( aZoneA->Layer() != aZoneB->Layer() )
|
||||
return;
|
||||
|
||||
if( aZoneLayerB->Net() != aZoneLayerA->Net() )
|
||||
return; // we only test zones belonging to the same net
|
||||
|
||||
|
|
Loading…
Reference in New Issue