Don't subtract soldermask from other than silkscreen layers when plotting gerbers from pcbnew.

This commit is contained in:
Marco Mattila 2011-12-01 00:06:27 +02:00
parent b6508af0f4
commit 1ab12c2be4
1 changed files with 6 additions and 1 deletions

View File

@ -718,7 +718,8 @@ void PCB_BASE_FRAME::Plot_Layer( PLOTTER* plotter, int Layer, GRTraceMode trace_
Plot_Standard_Layer( plotter, layer_mask, false, trace_mode );
break;
default:
case SILKSCREEN_N_FRONT:
case SILKSCREEN_N_BACK:
PlotSilkScreen( plotter, layer_mask, trace_mode );
// Gerber: Subtract soldermask from silkscreen if enabled
@ -742,6 +743,10 @@ void PCB_BASE_FRAME::Plot_Layer( PLOTTER* plotter, int Layer, GRTraceMode trace_
}
break;
default:
PlotSilkScreen( plotter, layer_mask, trace_mode );
break;
}
}