Welcome to mirror list, hosted at ThFree Co, Russian Federation.

node_fn_combine_strings.cc « nodes « function « nodes « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1b6091451d90477a069e6f92ccdf1e9eb5591a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "node_function_util.h"

static bNodeSocketTemplate fn_node_combine_strings_in[] = {
    {SOCK_STRING, N_("A")},
    {SOCK_STRING, N_("B")},
    {-1, ""},
};

static bNodeSocketTemplate fn_node_combine_strings_out[] = {
    {SOCK_STRING, N_("Result")},
    {-1, ""},
};

void register_node_type_fn_combine_strings()
{
  static bNodeType ntype;

  fn_node_type_base(&ntype, FN_NODE_COMBINE_STRINGS, "Combine Strings", 0, 0);
  node_type_socket_templates(&ntype, fn_node_combine_strings_in, fn_node_combine_strings_out);
  nodeRegisterType(&ntype);
}