From 07d3d6e34c0ac2e461820b658fd7d5eb5027eff7 Mon Sep 17 00:00:00 2001 From: Miguel Pozo Date: Thu, 28 Mar 2024 16:18:45 +0100 Subject: [PATCH] Fix subcategories shader --- BlenderMalt/MaltNodes/MaltNodeUITools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlenderMalt/MaltNodes/MaltNodeUITools.py b/BlenderMalt/MaltNodes/MaltNodeUITools.py index 687b419d..44488383 100644 --- a/BlenderMalt/MaltNodes/MaltNodeUITools.py +++ b/BlenderMalt/MaltNodes/MaltNodeUITools.py @@ -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)