Cleanup.
This commit is contained in:
parent
6e0c58adec
commit
0d850f98cd
|
@ -876,7 +876,7 @@ public:
|
||||||
int SetAreasNetCodesFromNetNames();
|
int SetAreasNetCodesFromNetNames();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the Area (Zone Container) at a given index.
|
* Return the Zone at a given index.
|
||||||
*
|
*
|
||||||
* @param index The array type index into a collection of ZONE *.
|
* @param index The array type index into a collection of ZONE *.
|
||||||
* @return ZONE* - a pointer to the Area or NULL if index out of range.
|
* @return ZONE* - a pointer to the Area or NULL if index out of range.
|
||||||
|
|
|
@ -814,7 +814,7 @@ DRC_CONSTRAINT DRC_ENGINE::EvalRulesForItems( DRC_CONSTRAINT_TYPE_T aConstraintI
|
||||||
{
|
{
|
||||||
if( implicit && ( a_is_non_copper || b_is_non_copper ) )
|
if( implicit && ( a_is_non_copper || b_is_non_copper ) )
|
||||||
{
|
{
|
||||||
REPORT( _( "Board and netclass clearances apply only to connected items." ) );
|
REPORT( _( "Board and netclass clearances apply only between copper items." ) );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1069,7 +1069,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//-----<zone containers (not keepout areas) become planes>--------------------------------
|
//-----<zones (not keepout areas) become planes>--------------------------------
|
||||||
// Note: only zones are output here, keepout areas be be created later
|
// Note: only zones are output here, keepout areas be be created later
|
||||||
{
|
{
|
||||||
int netlessZones = 0;
|
int netlessZones = 0;
|
||||||
|
@ -1190,7 +1190,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----<zone containers flagged keepout areas become keepout>--------------------------------
|
//-----<zones flagged keepout areas become keepout>--------------------------------
|
||||||
{
|
{
|
||||||
static const KICAD_T scanZONEs[] = { PCB_ZONE_T, EOT };
|
static const KICAD_T scanZONEs[] = { PCB_ZONE_T, EOT };
|
||||||
items.Collect( aBoard, scanZONEs );
|
items.Collect( aBoard, scanZONEs );
|
||||||
|
|
Loading…
Reference in New Issue