Added support for graphics on Edge.Cuts layer in modules. Tested functionality that works fine:
- zone filling algorithm - printing - plotting (pdf & gerbers) - SVG export - Specctra export - 3D viewer
This commit is contained in:
parent
a6484f1acb
commit
0b9387fb12
|
@ -297,13 +297,13 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
|
|||
|
||||
/* Add module edge items that are on copper layers
|
||||
* Pcbnew allows these items to be on copper layers in microwave applictions
|
||||
* This is a bad thing, but must be handle here, until a better way is found
|
||||
* This is a bad thing, but must be handled here, until a better way is found
|
||||
*/
|
||||
for( MODULE* module = aPcb->m_Modules; module; module = module->Next() )
|
||||
{
|
||||
for( BOARD_ITEM* item = module->GraphicalItems(); item; item = item->Next() )
|
||||
{
|
||||
if( !item->IsOnLayer( GetLayer() ) )
|
||||
if( !item->IsOnLayer( GetLayer() ) && !item->IsOnLayer( EDGE_N ) )
|
||||
continue;
|
||||
|
||||
if( item->Type() != PCB_MODULE_EDGE_T )
|
||||
|
|
Loading…
Reference in New Issue