Blender Git Loki

Git Commits -> Revision 991a1cd

Revision 991a1cd by Hans Goudey (master)
May 20, 2021, 16:17 (GMT)
Fix T87316: No undo push for clicking on attribute name

Since there is a special callback for assigning the name from the
search box, and the callback doesn't call an operator or something
else that would do an undo push, I think the solution is to do it
manually here.

Another option would be adding the button flag "UI_BUT_UNDO", which
isn't set by default for search buttons, but that gives us ugly names for
the undo steps, so an explicit push is better in this case.

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

Commit Details:

Full Hash: 991a1cdf5dae6aeae2053d993f9983d8965a82be
Parent Commit: ee5bfde
Lines Changed: +5, -1

1 Modified Path:

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