7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 13:30:11 +00:00

Ignore invisible copper text in router.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19420
This commit is contained in:
Jeff Young 2025-01-27 18:41:03 +00:00
parent e21ec0558e
commit a9500de3f8

View File

@ -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<PNS::SOLID> solid = std::make_unique<PNS::SOLID>();