Blender Git Commit Log

Git Commits -> Revision 2356f60

Revision 2356f60 by Julian Eisel (master)
September 2, 2019, 13:41 (GMT)
UI: Don't show button context menu for drag-labels

While the vast majority of labels would never get a button context menu
(as opposed to the regular context menu of this region), draggable
labels would still reach code for such context menu creation. From what
I can tell only file browser icons/thumbnails and the properties editor
data path would be affected. The button context menu doesn't make sense
for them, so let the region context menu show up instead.

If at some point we want button context menus for specific labels, we
can make checks more granular.

Commit Details:

Full Hash: 2356f60c6200188a2f88d6d890ff78fa8fd2b4d3
Parent Commit: 591db72
Lines Changed: +3, -2

1 Modified Path:

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