From 100ec6cd2e72778e62201b653e86d51ecb2d4bee Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Thu, 22 May 2008 15:55:24 +0000 Subject: [PATCH] rearrangement --- pcbnew/specctra_export.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/specctra_export.cpp b/pcbnew/specctra_export.cpp index 9399fdf088..09f6531791 100644 --- a/pcbnew/specctra_export.cpp +++ b/pcbnew/specctra_export.cpp @@ -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 ); } }