Commit aa451fb4 authored by Dick Hollenbeck's avatar Dick Hollenbeck

freerouter does not understand "mixed" layers, export mixed as signal

parent bf30114d
...@@ -1416,17 +1416,16 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IO_ERROR ) ...@@ -1416,17 +1416,16 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) throw( IO_ERROR )
switch( aBoard->GetLayerType( pcbLayer2kicad[pcbNdx] ) ) switch( aBoard->GetLayerType( pcbLayer2kicad[pcbNdx] ) )
{ {
default: default:
case LT_SIGNAL: case LT_SIGNAL: layerType = T_signal; break;
layerType = T_signal; break; case LT_POWER: layerType = T_power; break;
case LT_POWER: #if 1 // Freerouter does not support type "mixed", only signal and power.
layerType = T_power; break; // Remap "mixed" to "signal".
case LT_MIXED: layerType = T_signal; break;
case LT_MIXED: #else
layerType = T_mixed; break; case LT_MIXED: layerType = T_mixed; break;
#endif
case LT_JUMPER: case LT_JUMPER: layerType = T_jumper; break;
layerType = T_jumper; break;
} }
layer->layer_type = layerType; layer->layer_type = layerType;
......
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