rearrangement
This commit is contained in:
parent
8fa0c19f31
commit
100ec6cd2e
|
@ -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 );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue