mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 19:13:44 +00:00
BRDITEMS_PLOTTER::PlotFootprintTextItems(): fix a typo about Value layer.
The typo was using the reference layer to plot the value field Fixes https://gitlab.com/kicad/code/kicad/-/issues/20144
This commit is contained in:
parent
e202b00a74
commit
75bed91789
@ -372,7 +372,7 @@ void BRDITEMS_PLOTTER::PlotFootprintTextItems( const FOOTPRINT* aFootprint )
|
||||
}
|
||||
|
||||
const PCB_TEXT* value = &aFootprint->Value();
|
||||
PCB_LAYER_ID valueLayer = reference->GetLayer();
|
||||
PCB_LAYER_ID valueLayer = value->GetLayer();
|
||||
|
||||
if( GetPlotValue()
|
||||
&& m_layerMask[valueLayer]
|
||||
|
Loading…
Reference in New Issue
Block a user