Skip to content

Don't crash when the outline file is empty#516

Merged
eyal0 merged 1 commit intopcb2gcode:masterfrom
eyal0:empty_outline
Jan 21, 2021
Merged

Don't crash when the outline file is empty#516
eyal0 merged 1 commit intopcb2gcode:masterfrom
eyal0:empty_outline

Conversation

@eyal0
Copy link
Copy Markdown
Contributor

@eyal0 eyal0 commented Jan 20, 2021

No description provided.

@eyal0 eyal0 force-pushed the empty_outline branch 2 times, most recently from 4f1b347 to 8adab51 Compare January 21, 2021 02:09
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Jan 21, 2021

Coverage Status

Coverage decreased (-0.002%) to 68.516% when pulling a0f7eec on eyal0:empty_outline into e2a1391 on pcb2gcode:master.

Only use the outline if it isn't empty.  Test that the min_corner is
below and to the left of the max_corner.

This fixes pcb2gcode#511
@eyal0 eyal0 merged commit 83f02e3 into pcb2gcode:master Jan 21, 2021
@eyal0 eyal0 deleted the empty_outline branch January 21, 2021 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants