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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to