From eac1936303c2795562e0c0abccb88f6288394870 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Thu, 13 Jan 2022 20:37:37 -0500 Subject: [PATCH] PNS: Do not clear layer pairs when importing new sizes Fixes https://gitlab.com/kicad/code/kicad/-/issues/10225 (cherry picked from commit 20bbf9b179c705d5d174bcb0b1a7b273dc508706) --- pcbnew/router/pns_kicad_iface.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/pcbnew/router/pns_kicad_iface.cpp b/pcbnew/router/pns_kicad_iface.cpp index 8ec9c2822d..f9b2369bc1 100644 --- a/pcbnew/router/pns_kicad_iface.cpp +++ b/pcbnew/router/pns_kicad_iface.cpp @@ -583,8 +583,6 @@ bool PNS_KICAD_IFACE_BASE::ImportSizes( PNS::SIZES_SETTINGS& aSizes, PNS::ITEM* aSizes.SetHoleToHole( holeToHoleMin ); - aSizes.ClearLayerPairs(); - return true; }