Commenting.

This commit is contained in:
Jeff Young 2022-02-21 11:16:17 +00:00
parent 0cc47d98f5
commit d9d23dd06b
1 changed files with 4 additions and 0 deletions

View File

@ -416,6 +416,10 @@ bool CONNECTIVITY_DATA::IsConnectedOnLayer( const BOARD_CONNECTED_ITEM *aItem, i
{
return true;
}
// For optionally-flashed layers we normally want to avoid different-net items
// by dropping the flashing. However, if the different-net item collides with
// our hole then that's not going to help. Showing the flashing in that case
// is clearer (and highlights the probable DRC error better).
else if( aCheckOptionalFlashing && aItem->Type() == PCB_PAD_T )
{
const PAD* pad = static_cast<const PAD*>( aItem );