Backannotation: skip fields that are individually controlled
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15337
This commit is contained in:
parent
c61da43ee2
commit
a0d559e884
|
@ -499,6 +499,14 @@ void BACK_ANNOTATE::applyChangelist()
|
||||||
const wxString& fpFieldValue = field.second;
|
const wxString& fpFieldValue = field.second;
|
||||||
SCH_FIELD* symField = symbol->FindField( fpFieldName );
|
SCH_FIELD* symField = symbol->FindField( fpFieldName );
|
||||||
|
|
||||||
|
// Skip fields that are individually controlled
|
||||||
|
if( fpFieldName == TEMPLATE_FIELDNAME::GetDefaultFieldName( REFERENCE_FIELD )
|
||||||
|
|| fpFieldName == TEMPLATE_FIELDNAME::GetDefaultFieldName( VALUE_FIELD )
|
||||||
|
|| fpFieldName == TEMPLATE_FIELDNAME::GetDefaultFieldName( FOOTPRINT_FIELD ) )
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// 1. Existing fields has changed value
|
// 1. Existing fields has changed value
|
||||||
// PCB Field value is checked against the shown text because this is the value
|
// PCB Field value is checked against the shown text because this is the value
|
||||||
// with all the variables resolved. The footprints field value gets the symbol's
|
// with all the variables resolved. The footprints field value gets the symbol's
|
||||||
|
|
Loading…
Reference in New Issue