Skip to content

Commit

Permalink
Add __wgl_session to the WGLMakie ignore set when generating uniforms
Browse files Browse the repository at this point in the history
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
  • Loading branch information
asinghvi17 committed Mar 31, 2024
1 parent 46e14a8 commit 419e8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WGLMakie/src/particles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const IGNORE_KEYS = Set([
:visible, :transformation, :alpha, :linewidth, :transparency, :marker,
:light_direction, :light_color,
:cycle, :label, :inspector_clear, :inspector_hover,
:inspector_label, :axis_cycler
:inspector_label, :axis_cycler, :__wgl_session,
])

function create_shader(scene::Scene, plot::MeshScatter)
Expand Down

0 comments on commit 419e8c1

Please sign in to comment.