(Nodes) Display image name if any in the Cycles Image and Environment Texture node title

This commit is contained in:
Inês Almeida 2018-02-13 00:58:26 +01:00
parent fc99eed5be
commit d640ce40aa
Notes: blender-bot 2024-01-31 11:35:08 +01:00
Referenced by issue #53080, Blender freezes temporarily when editing material color and/or changing number values in sliders
Referenced by issue #52656, Driver stops updating dynamically if no/incomplete variable is defined
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ void register_node_type_sh_tex_environment(void)
node_type_init(&ntype, node_shader_init_tex_environment);
node_type_storage(&ntype, "NodeTexEnvironment", node_free_standard_storage, node_copy_standard_storage);
node_type_gpu(&ntype, node_shader_gpu_tex_environment);
node_type_label(&ntype, node_image_label);
nodeRegisterType(&ntype);
}

View File

@ -126,6 +126,7 @@ void register_node_type_sh_tex_image(void)
node_type_init(&ntype, node_shader_init_tex_image);
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);
nodeRegisterType(&ntype);
}