Commit 100ec6cd authored by dickelbeck's avatar dickelbeck

rearrangement

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