From be1f8bf4e47a1c6a7cb280090182c6be39164a18 Mon Sep 17 00:00:00 2001 From: Pratik Borhade <pratikborhade302@gmail.com> Date: Thu, 16 Nov 2023 09:55:53 +0100 Subject: [PATCH] Fix #114848: Crash when adding specular texture slot in texture paint mode This is because the idname for specular node is changed in 1d265eed5d. Hence `nodeFindSocket` was returning invalid socket. Pull Request: https://projects.blender.org/blender/blender/pulls/114884 --- source/blender/editors/sculpt_paint/paint_image_proj.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.cc b/source/blender/editors/sculpt_paint/paint_image_proj.cc index b42be1b0695..adc1ff8bc92 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.cc +++ b/source/blender/editors/sculpt_paint/paint_image_proj.cc @@ -6511,7 +6511,7 @@ enum { static const EnumPropertyItem layer_type_items[] = { {LAYER_BASE_COLOR, "BASE_COLOR", 0, "Base Color", ""}, - {LAYER_SPECULAR, "SPECULAR", 0, "Specular", ""}, + {LAYER_SPECULAR, "SPECULAR", 0, "Specular IOR Level", ""}, {LAYER_ROUGHNESS, "ROUGHNESS", 0, "Roughness", ""}, {LAYER_METALLIC, "METALLIC", 0, "Metallic", ""}, {LAYER_NORMAL, "NORMAL", 0, "Normal", ""}, -- GitLab