From 762d3a48e860d3425fc45bb0a7d4b86fb8cc836b Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 30 Mar 2022 20:54:11 -0500 Subject: Cleanup: Avoid storing pointers for attribute search callback It's better to use some local/stable identifiier to avoid relying on the data not being freed in between creating the search menu and the exec function. This is similar to c473b2ce8bdbf8fa. --- source/blender/editors/space_node/node_intern.hh | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/editors/space_node/node_intern.hh') diff --git a/source/blender/editors/space_node/node_intern.hh b/source/blender/editors/space_node/node_intern.hh index cd40573607d..44163cd5ae3 100644 --- a/source/blender/editors/space_node/node_intern.hh +++ b/source/blender/editors/space_node/node_intern.hh @@ -353,7 +353,6 @@ void NODE_GGT_backdrop_corner_pin(wmGizmoGroupType *gzgt); /* node_geometry_attribute_search.cc */ void node_geometry_add_attribute_search_button(const bContext &C, - const bNodeTree &node_tree, const bNode &node, PointerRNA &socket_ptr, uiLayout &layout); -- cgit v1.2.3