Cleanup: Remove empty node socket template array

This commit is contained in:
Aaron Carlisle 2022-01-05 16:45:41 -05:00
parent c240ab70ae
commit e55a6bf82b
1 changed files with 1 additions and 4 deletions

View File

@ -29,9 +29,6 @@ static bNodeSocketTemplate inputs[] = {
{SOCK_RGBA, N_("Color"), 1.0f, 0.0f, 0.0f, 1.0f},
{-1, ""},
};
static bNodeSocketTemplate outputs[] = {
{-1, ""},
};
static void exec(void *data,
int UNUSED(thread),
@ -56,7 +53,7 @@ void register_node_type_tex_viewer(void)
static bNodeType ntype;
tex_node_type_base(&ntype, TEX_NODE_VIEWER, "Viewer", NODE_CLASS_OUTPUT);
node_type_socket_templates(&ntype, inputs, outputs);
node_type_socket_templates(&ntype, inputs, NULL);
node_type_exec(&ntype, NULL, NULL, exec);
ntype.no_muting = true;