We need to catch these when they're created. During write is too late.

This commit is contained in:
Jeff Young 2025-07-04 12:20:43 -06:00
parent 69b23df4c3
commit 2a7474b33e

View File

@ -1021,7 +1021,6 @@ void PCB_IO_KICAD_SEXPR::format( const PCB_SHAPE* aShape ) const
}
else
{
wxFAIL_MSG( wxT( "Cannot format invalid polygon." ) );
return;
}