Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/function/nodes/node_fn_slice_string.cc
| Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
| } // namespace blender::nodes::node_fn_slice_string_cc | } // namespace blender::nodes::node_fn_slice_string_cc | ||||
| void register_node_type_fn_slice_string() | void register_node_type_fn_slice_string() | ||||
| { | { | ||||
| namespace file_ns = blender::nodes::node_fn_slice_string_cc; | namespace file_ns = blender::nodes::node_fn_slice_string_cc; | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| fn_node_type_base(&ntype, FN_NODE_SLICE_STRING, "Slice String", NODE_CLASS_CONVERTER, 0); | fn_node_type_base(&ntype, FN_NODE_SLICE_STRING, "Slice String", NODE_CLASS_CONVERTER); | ||||
| ntype.declare = file_ns::fn_node_slice_string_declare; | ntype.declare = file_ns::fn_node_slice_string_declare; | ||||
| ntype.build_multi_function = file_ns::fn_node_slice_string_build_multi_function; | ntype.build_multi_function = file_ns::fn_node_slice_string_build_multi_function; | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||