[Bf-blender-cvs] [1d0d810331b] blender-v3.1-release: Fix T93526: Missing tooltip for attribute search button

Pratik Borhade noreply at git.blender.org
Fri Feb 18 06:44:34 CET 2022


Commit: 1d0d810331b0ced05acdba9c75a08948f7b6eaf8
Author: Pratik Borhade
Date:   Thu Feb 17 23:44:16 2022 -0600
Branches: blender-v3.1-release
https://developer.blender.org/rB1d0d810331b0ced05acdba9c75a08948f7b6eaf8

Fix T93526: Missing tooltip for attribute search button

For the attribute search button, the tooltip was missing
if the input socket type has attribute toggle activated.

Differential Revision: https://developer.blender.org/D14142

===================================================================

M	source/blender/modifiers/intern/MOD_nodes.cc

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc
index c5ee4b9fb52..1c755a7e2d9 100644
--- a/source/blender/modifiers/intern/MOD_nodes.cc
+++ b/source/blender/modifiers/intern/MOD_nodes.cc
@@ -1362,7 +1362,7 @@ static void add_attribute_search_button(const bContext &C,
                                  0.0f,
                                  0.0f,
                                  0.0f,
-                                 "");
+                                 socket.description);
 
   const Object *object = ED_object_context(&C);
   BLI_assert(object != nullptr);



More information about the Bf-blender-cvs mailing list