Commit e2770b40 authored by dickelbeck's avatar dickelbeck

comments

parent e0d3704c
...@@ -864,7 +864,6 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) throw( IOErr ...@@ -864,7 +864,6 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) throw( IOErr
RECTANGLE* rect = new RECTANGLE( boundary ); RECTANGLE* rect = new RECTANGLE( boundary );
boundary->rectangle = rect; boundary->rectangle = rect;
rect->layer_id = "pcb"; rect->layer_id = "pcb";
// opposite corners // opposite corners
...@@ -891,9 +890,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError ) ...@@ -891,9 +890,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
// Not all boards are exportable. Check that all reference Ids are unique. // Not all boards are exportable. Check that all reference Ids are unique.
// Unless they are unique, we cannot import the session file which comes // Unless they are unique, we cannot import the session file which comes
// back to us later from the router. Also check that all pad names within // back to us later from the router.
// a part are unique, otherwise Electra and Freerouter will not draw the
// pads properly.
{ {
TYPE_COLLECTOR padItems; TYPE_COLLECTOR padItems;
...@@ -959,8 +956,6 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError ) ...@@ -959,8 +956,6 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
char temp[32]; char temp[32];
sprintf( temp, "%d", pcbNdx ); sprintf( temp, "%d", pcbNdx );
property->value = temp; property->value = temp;
// layer->type = @todo need this, the export would be better.
} }
} }
...@@ -977,7 +972,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError ) ...@@ -977,7 +972,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError )
//-----<boundary_descriptor>------------------------------------------ //-----<boundary_descriptor>------------------------------------------
{ {
// because fillBOUNDARY() can throw and exception, we link in an // because fillBOUNDARY() can throw an exception, we link in an
// empty boundary so the BOUNDARY does not get lost in the event of // empty boundary so the BOUNDARY does not get lost in the event of
// of an exception. // of an exception.
BOUNDARY* boundary = new BOUNDARY(0); BOUNDARY* boundary = new BOUNDARY(0);
......
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