blender/release/scripts
Julian Eisel 10590b0500 Fix missing shortcut indicators and crash on shortcut change
Fixes T78346.

The shortcut display and change code is context sensitive. To make it
work correctly the context needs to be set properly.
When executing operators from the dropdowns, the active region is the
header, but the shortcut handlers are set for the main region. So make
sure that is used instead.

This also sets the main region active for context menu operators, where
this issue shouldn't be present. Doing it anyway shouldn't hurt though
and fixes this issue in case somebody displays the context menu in the
header as dropdown too.
2020-08-03 18:26:06 +02:00
..
addons@49c39f59fb Audaspace: port documentation bugfix from upstream. 2020-08-03 14:21:54 +02:00
addons_contrib@a52733b58d Audaspace: port documentation bugfix from upstream. 2020-08-03 14:21:54 +02:00
freestyle Fix T72289: FreeStyle python error 2019-12-18 11:00:50 +01:00
modules Fix T79031: Batch Generate-Previews doesn't work anymore 2020-07-28 11:52:38 +02:00
presets Bevel: Refactor "Vertex Only" to an enum 2020-07-21 16:32:00 -04:00
startup Fix missing shortcut indicators and crash on shortcut change 2020-08-03 18:26:06 +02:00
templates_osl OSL: remove fresnel template that was not public domain. 2019-01-28 12:04:54 +01:00
templates_py Addons: deprecate 'wiki_url' 2020-03-05 11:45:22 +11:00