diff options
Diffstat (limited to 'source/blender/nodes/texture/nodes/node_texture_math.c')
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_math.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_math.c b/source/blender/nodes/texture/nodes/node_texture_math.c index ab226a4dd38..2f50f6aaae0 100644 --- a/source/blender/nodes/texture/nodes/node_texture_math.c +++ b/source/blender/nodes/texture/nodes/node_texture_math.c @@ -335,10 +335,9 @@ void register_node_type_tex_math(void) { static bNodeType ntype; - tex_node_type_base(&ntype, TEX_NODE_MATH, "Math", NODE_CLASS_CONVERTER, 0); + tex_node_type_base(&ntype, TEX_NODE_MATH, "Math", NODE_CLASS_CONVERTER); node_type_socket_templates(&ntype, inputs, outputs); - node_type_label(&ntype, node_math_label); - node_type_storage(&ntype, "", NULL, NULL); + ntype.labelfunc = node_math_label; node_type_exec(&ntype, NULL, NULL, exec); node_type_update(&ntype, node_math_update); |