From 1d7d25ee48d5584fa89b3ff8e5541c9e581c08d8 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Wed, 8 Apr 2026 11:31:01 +0200 Subject: [PATCH] paint: fix group node buttons --- paint/sources/material_nodes/group_node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paint/sources/material_nodes/group_node.c b/paint/sources/material_nodes/group_node.c index 6dea0562..bf3a9b0c 100644 --- a/paint/sources/material_nodes/group_node.c +++ b/paint/sources/material_nodes/group_node.c @@ -47,7 +47,7 @@ void nodes_material_new_group_button(i32 node_id) { .outputs = any_array_create_from_raw((void *[]){}, 0), .buttons = any_array_create_from_raw( (void *[]){ - GC_ALLOC_INIT(ui_node_button_t, {.name = "nodes_material_group_input_button", .type = "CUSTOM", .height = 1}), + GC_ALLOC_INIT(ui_node_button_t, {.name = "nodes_material_group_input_button", .type = "CUSTOM", .height = 1, .output = -1, .default_value = f32_array_create_x(0.0) }), }, 1), .width = 0, @@ -63,7 +63,7 @@ void nodes_material_new_group_button(i32 node_id) { .outputs = any_array_create_from_raw((void *[]){}, 0), .buttons = any_array_create_from_raw( (void *[]){ - GC_ALLOC_INIT(ui_node_button_t, {.name = "nodes_material_group_output_button", .type = "CUSTOM", .height = 1}), + GC_ALLOC_INIT(ui_node_button_t, {.name = "nodes_material_group_output_button", .type = "CUSTOM", .height = 1, .output = -1, .default_value = f32_array_create_x(0.0) }), }, 1), .width = 0,