From a9500de3f8b83b48ed94223750f36558bacee83f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 27 Jan 2025 18:41:03 +0000 Subject: [PATCH] Ignore invisible copper text in router. Fixes https://gitlab.com/kicad/code/kicad/-/issues/19420 --- pcbnew/router/pns_kicad_iface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_kicad_iface.cpp b/pcbnew/router/pns_kicad_iface.cpp index 3f2dbffccb..4171e47ada 100644 --- a/pcbnew/router/pns_kicad_iface.cpp +++ b/pcbnew/router/pns_kicad_iface.cpp @@ -1432,7 +1432,7 @@ bool PNS_KICAD_IFACE_BASE::syncZone( PNS::NODE* aWorld, ZONE* aZone, SHAPE_POLY_ bool PNS_KICAD_IFACE_BASE::syncTextItem( PNS::NODE* aWorld, PCB_TEXT* aText, PCB_LAYER_ID aLayer ) { - if( !IsKicadCopperLayer( aLayer ) ) + if( !IsKicadCopperLayer( aLayer ) || !aText->IsVisible() ) return false; std::unique_ptr solid = std::make_unique();