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
This commit is contained in:
Pratik Borhade
2022-02-17 23:44:16 -06:00
committed by Hans Goudey
parent 3cdbeb32d3
commit 1d0d810331

View File

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