rearrangement

This commit is contained in:
dickelbeck 2008-05-22 15:55:24 +00:00
parent 8fa0c19f31
commit 100ec6cd2e
1 changed files with 2 additions and 2 deletions

View File

@ -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 )
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 );
} }
} }