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_geometry.c
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_geometry.c')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_geometry.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_geometry.c b/source/blender/nodes/shader/nodes/node_shader_geometry.c
index f66633e64c8..455b49f2197 100644
--- a/source/blender/nodes/shader/nodes/node_shader_geometry.c
+++ b/source/blender/nodes/shader/nodes/node_shader_geometry.c
@@ -93,8 +93,6 @@ void register_node_type_sh_geometry(void)
sh_node_type_base(&ntype, SH_NODE_NEW_GEOMETRY, "Geometry", NODE_CLASS_INPUT, 0);
node_type_socket_templates(&ntype, NULL, sh_node_geometry_out);
- node_type_init(&ntype, NULL);
- node_type_storage(&ntype, "", NULL, NULL);
node_type_gpu(&ntype, node_shader_gpu_geometry);
nodeRegisterType(&ntype);