Loading pcbnew/specctra_export.cpp +2 −7 Original line number Diff line number Diff line Loading @@ -864,7 +864,6 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) throw( IOErr RECTANGLE* rect = new RECTANGLE( boundary ); boundary->rectangle = rect; rect->layer_id = "pcb"; // opposite corners Loading @@ -891,9 +890,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError ) // Not all boards are exportable. Check that all reference Ids are unique. // 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 // a part are unique, otherwise Electra and Freerouter will not draw the // pads properly. // back to us later from the router. { TYPE_COLLECTOR padItems; Loading Loading @@ -959,8 +956,6 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError ) char temp[32]; sprintf( temp, "%d", pcbNdx ); property->value = temp; // layer->type = @todo need this, the export would be better. } } Loading @@ -977,7 +972,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError ) //-----<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 // of an exception. BOUNDARY* boundary = new BOUNDARY(0); Loading Loading
pcbnew/specctra_export.cpp +2 −7 Original line number Diff line number Diff line Loading @@ -864,7 +864,6 @@ void SPECCTRA_DB::fillBOUNDARY( BOARD* aBoard, BOUNDARY* boundary ) throw( IOErr RECTANGLE* rect = new RECTANGLE( boundary ); boundary->rectangle = rect; rect->layer_id = "pcb"; // opposite corners Loading @@ -891,9 +890,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError ) // Not all boards are exportable. Check that all reference Ids are unique. // 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 // a part are unique, otherwise Electra and Freerouter will not draw the // pads properly. // back to us later from the router. { TYPE_COLLECTOR padItems; Loading Loading @@ -959,8 +956,6 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError ) char temp[32]; sprintf( temp, "%d", pcbNdx ); property->value = temp; // layer->type = @todo need this, the export would be better. } } Loading @@ -977,7 +972,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IOError ) //-----<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 // of an exception. BOUNDARY* boundary = new BOUNDARY(0); Loading