Closed zyxkad closed 11 months ago
Found the stable way to reproduce it:
go run ***
, do not move your cursor after the window appread.The issue is (*manager)(gm).cev
is nil before cursor starts moving
Hi! This seems to happen only on macOS and is likely due to GLTF behaving differently there. It looks like on macOS mouse button callbacks can be called without cursor position callbacks first being called, leading to cev
being nil
and causing that crash. There's a workaround here that is similar to your PR. Thanks for finding this bug and fixing it!
Description
After scrolling and drag camera with secondary button, program will randomly crashed. Used the README's demo code
Logs