Skip to content

Commit

Permalink
Fix subcategories shader
Browse files Browse the repository at this point in the history
  • Loading branch information
pragma37 committed Mar 28, 2024
1 parent f335963 commit 07d3d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlenderMalt/MaltNodes/MaltNodeUITools.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def draw_modal_interface(operator: 'OT_MaltCycleSubCategories') -> None:
(4,5,6), (6,5,7),
)

shader = gpu.shader.from_builtin('2D_SMOOTH_COLOR')
shader = gpu.shader.from_builtin('SMOOTH_COLOR')
batch = batch_for_shader(shader, 'TRIS', {'pos': vertices, 'color': vertex_colors}, indices=indices)
gpu.state.blend_set('ALPHA')
batch.draw(shader)
Expand Down

0 comments on commit 07d3d6e

Please sign in to comment.