Blender Git Commit Log

Git Commits -> Revision d7caae5

Revision d7caae5 by Hans Goudey (master)
April 19, 2021, 17:31 (GMT)
Fix T87567: Crash adding item in empty attribute search

The function applying the search used the dummy search info for when
the item doesn't exist even when there was no UI data associated with
the node at all.

A fix is to only add the search menu when there is attribute info
stored for the node. This is something I wanted to do anyway, since
it makes it look more purposeful when there are no attribute info
for a node, less like a bug.

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

Commit Details:

Full Hash: d7caae56c4e33c21453fdeebab6c519e7cb99de6
Parent Commit: b8b7b47
Lines Changed: +32, -24

4 Modified Paths:

/source/blender/editors/space_node/drawnode.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_geometry_attribute_search.cc (+28, -21) (Diff)
/source/blender/editors/space_node/node_intern.h (+2, -1) (Diff)
/source/blender/editors/space_node/node_templates.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021