bc5ab4526a500930b129afd470c44abf63e42d0e
It seems `ui_handler_region_menu/ui_handle_menu_event` doesn't handle any events other than press/double-click as they return `WM_UI_HANDLER_BREAK`. `KM_CLICK` event is not possible due to above case. i.e. clicked element can't be set active inside `ui_handle_view_item_event()`. (Guess `HANDLER_BREAK` also prevents from looping over keymap to find relevant keyitem pair to invoke the operator? Didn't check in details). To fix this, add a condition that checks whether button is in popup menu. If yes, force active the pressed button and keep the popup open. Pull Request: https://projects.blender.org/blender/blender/pulls/147047
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
