From 9db907cc707af40a4e571b0ed343b0e62f2fade0 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 20 Jun 2022 17:17:19 +0200 Subject: [PATCH] pcbnew, plot footprint: fix typo that prevent ploting dimensions Fixes #11860 https://gitlab.com/kicad/code/kicad/issues/11860 --- pcbnew/plot_brditems_plotter.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pcbnew/plot_brditems_plotter.cpp b/pcbnew/plot_brditems_plotter.cpp index 3c8dc21c94..cbce6e05a3 100644 --- a/pcbnew/plot_brditems_plotter.cpp +++ b/pcbnew/plot_brditems_plotter.cpp @@ -573,11 +573,11 @@ void BRDITEMS_PLOTTER::PlotFootprintGraphicItems( const FOOTPRINT* aFootprint ) break; } - case PCB_DIM_ALIGNED_T: - case PCB_DIM_CENTER_T: - case PCB_DIM_RADIAL_T: - case PCB_DIM_ORTHOGONAL_T: - case PCB_DIM_LEADER_T: + case PCB_FP_DIM_ALIGNED_T: + case PCB_FP_DIM_CENTER_T: + case PCB_FP_DIM_RADIAL_T: + case PCB_FP_DIM_ORTHOGONAL_T: + case PCB_FP_DIM_LEADER_T: { const PCB_DIMENSION_BASE* dimension = static_cast( item );