paint: fix group node buttons
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user