Commit 0b9387fb authored by Maciej Suminski's avatar Maciej Suminski

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
parent a6484f1a
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment