-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
WGLMakie error displaying Figure
in VSCode inline context
#3751
Comments
It looks like the What happens if you do: fig = Figure()
rand(RGBf, 10, 10) # do something different
fig ? |
No error for |
This error only comes up with |
The error is probably somewhere here Makie.jl/WGLMakie/src/particles.jl Lines 127 to 128 in ced9717
|
Aha! There is a key julia> Infiltrator.safehouse.uniform_dict[:__wgl_session]
Observable(Session{Bonito.SubConnection}:
id: 9858a685-6c0f-44e7-8de8-4136c55ac247
parent: Bonito.Session{Bonito.WebSocketConnection}
connection: open
isready: true
asset_server: Bonito.ChildAssetServer
queued messages: 0
) which I suspect is the cause of your problem. |
The inclusion of this attribute caused the Bonito session to be passed as a uniform, causing an error in ShaderAbstractions when it tried to test for `isbits` code. Fixes #3751
Is this fixed? |
I'm closing this for now. |
When executing the following code within VSCode,
Displaying
fig
in the final line throws the errorAll field types need to be isbits
.Full stack trace
I do not observe any problem running the same code from the REPL, which launches a web browser display.
The text was updated successfully, but these errors were encountered: