Blender Git Commit Log

Git Commits -> Revision ba6977c

Revision ba6977c by Hans Goudey (master)
November 4, 2020, 11:46 (GMT)
Fix assert on mouseover of blocks not using the layout system

When there was an active button in the "old" block from the last redraw,
this code tried to replace its pointer in the new block's button groups.
But in cases like the outliner or file browser, there are no groups
because the block doesn't use the layout system at all. This commit
just tweaks the assert to check whether there are any button groups.

Commit Details:

Full Hash: ba6977cb8b8125e1fdebb3f876910ceaeadbe103
Parent Commit: a0db971
Committed By: Dalai Felinto
Lines Changed: +2, -2

1 Modified Path:

/source/blender/editors/interface/interface_button_group.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021