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

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

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

void register_node_type_fn_group_instance_id()
{
  static bNodeType ntype;

  fn_node_type_base(&ntype, FN_NODE_GROUP_INSTANCE_ID, "Group Instance ID", 0, 0);
  node_type_socket_templates(&ntype, nullptr, fn_node_group_instance_id_out);
  nodeRegisterType(&ntype);
}