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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <Blendify>2021-12-29 17:58:36 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-12-29 18:00:50 +0300
commit465bd6651914bf451a357802e044ba79ef439125 (patch)
tree9cf391c1749e590fca31452c6d54812a202d0a0d /source/blender/nodes/shader/nodes/node_shader_shader_to_rgb.cc
parentb7f6377e38ba7fae4f38ffcff9b8fd9e2aa57882 (diff)
Nodes: Cleanup: Remove no op registration functions
All these function paramaters are set to NULL so they arent necessary. Reviewed By: HooglyBoogly, JacquesLucke Differential Revision: https://developer.blender.org/D13686
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_shader_to_rgb.cc')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_shader_to_rgb.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_shader_to_rgb.cc b/source/blender/nodes/shader/nodes/node_shader_shader_to_rgb.cc
index aab721e7ac1..cf261e52886 100644
--- a/source/blender/nodes/shader/nodes/node_shader_shader_to_rgb.cc
+++ b/source/blender/nodes/shader/nodes/node_shader_shader_to_rgb.cc
@@ -59,8 +59,6 @@ void register_node_type_sh_shadertorgb()
sh_node_type_base(&ntype, SH_NODE_SHADERTORGB, "Shader to RGB", NODE_CLASS_CONVERTER, 0);
node_type_socket_templates(
&ntype, file_ns::sh_node_shadertorgb_in, file_ns::sh_node_shadertorgb_out);
- node_type_init(&ntype, nullptr);
- node_type_storage(&ntype, "", nullptr, nullptr);
node_type_gpu(&ntype, file_ns::node_shader_gpu_shadertorgb);
nodeRegisterType(&ntype);