diff options
author | Hans Goudey <h.goudey@me.com> | 2022-03-31 04:54:11 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-03-31 04:54:11 +0300 |
commit | 762d3a48e860d3425fc45bb0a7d4b86fb8cc836b (patch) | |
tree | c6fdbaeae421ce7a25f8ca4dd33e31075e650f4e /source/blender/editors/space_node/node_intern.hh | |
parent | 49858bf52641831f22e1d5a85b10b8074a449a30 (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_node/node_intern.hh')
-rw-r--r-- | source/blender/editors/space_node/node_intern.hh | 1 |
1 files changed, 0 insertions, 1 deletions
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); |