Fix a bunch more issues with sheetpaths and allowExtraText.
A sheetpath is required to correctly resolve text variables. Depending on currentSheet is rife with bugs. There are many places where we do *not* want to be prepending field names to the field values, such as netlisting, building PDF hypertext menus, etc. Also, Find/Replace needs to work on unresolved text, as that's what we're going to display (and if replace nuked your variable references you wouldn't be happy).
This commit is contained in:
@@ -89,11 +89,11 @@ void PlotInteractiveLayer( BOARD* aBoard, PLOTTER* aPlotter, const PCB_PLOT_PARA
|
||||
|
||||
properties.emplace_back( wxString::Format( wxT( "!%s = %s" ),
|
||||
_( "Reference designator" ),
|
||||
fp->Reference().GetShownText() ) );
|
||||
fp->Reference().GetShownText( false ) ) );
|
||||
|
||||
properties.emplace_back( wxString::Format( wxT( "!%s = %s" ),
|
||||
_( "Value" ),
|
||||
fp->Value().GetShownText() ) );
|
||||
fp->Value().GetShownText( false ) ) );
|
||||
|
||||
for( const auto& [ name, value ] : fp->GetProperties() )
|
||||
properties.emplace_back( wxString::Format( wxT( "!%s = %s" ), name, value ) );
|
||||
|
||||
Reference in New Issue
Block a user