Blender Git Commit Log

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

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021