Cleanup: Remove empty node socket template array
This commit is contained in:
parent
c240ab70ae
commit
e55a6bf82b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue