Browse Source

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

pull/18/head
Jeff Young 4 months ago
parent
commit
2a7474b33e
  1. 1
      pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.cpp

1
pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.cpp

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

Loading…
Cancel
Save