Variable substitution framework.
This implements editing of variables and moving SCH_FIELDs, TEXTE_MODULEs, TEXTE_PCB and worksheet items over to the new framework.
This commit is contained in:
@@ -314,10 +314,10 @@ bool BRDITEMS_PLOTTER::PlotAllTextsModule( MODULE* aModule )
|
||||
if( !m_layerMask[textLayer] )
|
||||
continue;
|
||||
|
||||
if( textModule->GetText() == wxT( "%R" ) && !GetPlotReference() )
|
||||
if( textModule->GetText() == wxT( "${REFERENCE}" ) && !GetPlotReference() )
|
||||
continue;
|
||||
|
||||
if( textModule->GetText() == wxT( "%V" ) && !GetPlotValue() )
|
||||
if( textModule->GetText() == wxT( "${VALUE}" ) && !GetPlotValue() )
|
||||
continue;
|
||||
|
||||
PlotTextModule( textModule, getColor( textLayer ) );
|
||||
|
||||
Reference in New Issue
Block a user