Fix regression in plotting %R and %V text.

This commit is contained in:
Jeff Young
2018-02-21 18:02:06 -05:00
committed by Wayne Stambaugh
parent dbafdd39b9
commit f60c251c12
+2 -2
View File
@@ -267,10 +267,10 @@ bool BRDITEMS_PLOTTER::PlotAllTextsModule( MODULE* aModule )
if( !m_layerMask[textLayer] )
continue;
if( textModule->GetText() == wxT( "%R" ) && !trace_ref )
if( textModule->GetText() == wxT( "%R" ) && !GetPlotReference() )
continue;
if( textModule->GetText() == wxT( "%V" ) && !trace_val )
if( textModule->GetText() == wxT( "%V" ) && !GetPlotValue() )
continue;
PlotTextModule( textModule, getColor( textLayer ) );