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

Panic in lyon_tessellation::fill::FillTessellator::process_events #521

Closed
Shnatsel opened this issue Dec 28, 2019 · 1 comment · Fixed by #523
Closed

Panic in lyon_tessellation::fill::FillTessellator::process_events #521

Shnatsel opened this issue Dec 28, 2019 · 1 comment · Fixed by #523
Labels

Comments

@Shnatsel
Copy link

Shnatsel commented Dec 28, 2019

Feeding this SVG file to wgpu_svg example results in a panic in lyon_tessellation::fill::FillTessellator::process_events with the following message:

thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1

Tested on git commit 4651f1b corresponding to version 0.15.2

@nical
Copy link
Owner

nical commented Dec 28, 2019

Thanks for filing. I can reproduce this locally, looks like the path builder has a bug causing one of the paths to not be closed properly. I'll dig into this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants