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

draw_arrow example panics #810

Open
XBagon opened this issue Dec 2, 2021 · 2 comments
Open

draw_arrow example panics #810

XBagon opened this issue Dec 2, 2021 · 2 comments

Comments

@XBagon
Copy link

XBagon commented Dec 2, 2021

When moving the mouse over the exact center of an arrow, the example crashes due to a panic.
crash.log

@mitchmindtree
Copy link
Member

Thanks for this, it looks like the crux of the issue is here:

RUST_BACKTRACE=1 cargo run --release --example draw_arrow
    Finished release [optimized] target(s) in 0.36s
     Running `target\release\examples\draw_arrow.exe`
thread 'main' panicked at 'not implemented', nannou\src\draw\mesh\builder.rs:91:9

which is an unimplemented! panic in the GeometryBuilder::abort_geometry implementation. We might need to investigate exactly what conditions can cause a lyon geometry builder to abort and handle it accordingly here, whether that's ignoring it or clearing the mesh, etc.

@nidnogg
Copy link

nidnogg commented Aug 24, 2022

Commenting out that unimplemented! panic, I'm getting a failed to tessellate path: UnsupportedParamater on my terminal, avoiding a full panic. Funnily enough though I can't find out where abort_geometry is being called.

Is that possibly called from inside a git submodule or a crate dependency?

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

No branches or pull requests

3 participants