diff options
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_tex_image.cc')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_tex_image.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_image.cc b/source/blender/nodes/shader/nodes/node_shader_tex_image.cc index f20fc85cbe0..d139707c6d7 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_image.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_image.cc @@ -174,7 +174,7 @@ static int node_shader_gpu_tex_image(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_tex_image(void) +void register_node_type_sh_tex_image() { static bNodeType ntype; @@ -184,7 +184,7 @@ void register_node_type_sh_tex_image(void) node_type_storage( &ntype, "NodeTexImage", node_free_standard_storage, node_copy_standard_storage); node_type_gpu(&ntype, node_shader_gpu_tex_image); - node_type_label(&ntype, node_image_label); + ntype.labelfunc = node_image_label; node_type_size_preset(&ntype, NODE_SIZE_LARGE); nodeRegisterType(&ntype); |