Skip to content
Snippets Groups Projects
Commit 2eda5e5d authored by Philipp Oeser's avatar Philipp Oeser Committed by Gitea
Browse files

Fix #122526: Pie menu executes the active as well as the shortcut button

A bit on shaky ground here, but it looks like we actually dont want to
execute the hovered buttons value/op if we chose another item in the pie
menu. This can be achieved by using the **onfree** arg to
`button_activate_exit` called on the active(hovered) button.

Not sure if this is the correct solution tbh (but maybe it demonstrates
where the bug of #122526 can be located).
I have tested pie menus with this patch and they seems to behave
normally (even nested ones).

Pull Request: https://projects.blender.org/blender/blender/pulls/122567

Pull Request: https://projects.blender.org/blender/blender/pulls/123002
parent 8501981b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment