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_bsdf_hair.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_bsdf_hair.cc')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_bsdf_hair.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.cc
index 2cecbb98d90..79a8901e265 100644
--- a/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.cc
+++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.cc
@@ -59,8 +59,6 @@ void register_node_type_sh_bsdf_hair()
node_type_socket_templates(
&ntype, file_ns::sh_node_bsdf_hair_in, file_ns::sh_node_bsdf_hair_out);
node_type_size(&ntype, 150, 60, 200);
- node_type_init(&ntype, nullptr);
- node_type_storage(&ntype, "", nullptr, nullptr);
node_type_gpu(&ntype, file_ns::node_shader_gpu_bsdf_hair);
nodeRegisterType(&ntype);