Blender Git Loki

Git Commits -> Revision 65c0c10

February 23, 2021, 21:54 (GMT)
Attribute Search: Fix interaction with buttons not working

When an "exec" function was set, the data argument was provided to
the button. This meant that two of these buttons won't be considered
"equal" over successive redraws, since the data is reallocated every time.
To maintain "active" status over redraws, that new-button to old-button
map needs to be valid,, and it wasn't so the buttons weren't active.

The take-away: search button arguments can not be reallocated for every
redraw if an exec function is provided.

Since I have since connected the search button to the "default_value"
RNA property, we don't actually need the manual "exec" function anyway,
so this commit just removes it.

Commit Details:

Full Hash: 65c0c10070deb585f58ad6c8550344508e5d12d3
Parent Commit: c4b6fd8
Lines Changed: +1, -12

1 Modified Path:

/source/blender/editors/space_node/node_geometry_attribute_search.cc (+1, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021