Commit 100ec6cd authored by dickelbeck's avatar dickelbeck

rearrangement

parent 8fa0c19f
......@@ -1045,6 +1045,8 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
ZONE_CONTAINER* item = (ZONE_CONTAINER*) items[i];
COPPER_PLANE* plane = new COPPER_PLANE( pcb->structure );
pcb->structure->planes.push_back( plane );
PATH* polygon = new PATH( plane, T_polygon );
plane->SetShape( polygon );
......@@ -1059,8 +1061,6 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
item->m_Poly->corner[j].y );
polygon->AppendPoint( mapPt(point) );
}
pcb->structure->planes.push_back( plane );
}
}
......
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