Fix regression in plotting %R and %V text.

This commit is contained in:
Jeff Young 2018-02-21 18:44:28 +00:00 committed by Wayne Stambaugh
parent dbafdd39b9
commit f60c251c12
1 changed files with 2 additions and 2 deletions

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 ) );