Open DaraghD opened 5 days ago
Thanks for the bug report @DaraghD.
I have amended your issue since you are running into a debug assert (so clearly you wasn't using editor.graphite.rs).
The issue occurs because the brush tool tries to find the transform of the parent layer. However if the parent layer is the root layer, a crash occurs since we apparently are forbidden from finding the transform of the root layer. In release mode, we correctly use the document_to_viewport
transform.
I think this is because I forgot to migrate the brush tool to using the message buffering and using the transform of its own layer, as returned from the render output.
Describe the Crash Using brush tool ontop of stuff
Steps To Reproduce Describe precisely how the crash occurred, step by step, starting with a new editor window.
Additional Details Provide any further information or context that you think would be helpful in fixing the issue. Screenshots or video can be linked or attached to this issue. Screencast_20241019_214255.webm Browser and OS Firefox 130, Arch Linux
Stack Trace Copied from the crash dialog in the Graphite editor: