Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: linesimplify skips for layers with a single path #280

Closed
abey79 opened this issue May 28, 2021 · 1 comment
Closed

Bug: linesimplify skips for layers with a single path #280

abey79 opened this issue May 28, 2021 · 1 comment

Comments

@abey79
Copy link
Owner

abey79 commented May 28, 2021

...due to a stupid check likely copy/pasted from linemerge/linesort

image

@Ohmarinus
Copy link

Ohmarinus commented May 28, 2021

For a quick fix you can set 2 to 1:

173 if len(lines) < 1:
174        return lines

in the operations.py file in the vpype_cli folder. Make sure to ONLY do this in the linesimplify section on line 173 and 174.

@abey79 abey79 closed this as completed in c92e988 May 31, 2021
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

No branches or pull requests

2 participants