Merge branch 'master' into blender2.8

This commit is contained in:
Campbell Barton 2018-06-21 11:10:37 +02:00
commit 9b91e727be
Notes: blender-bot 2023-02-14 05:42:03 +01:00
Referenced by issue #55573, Multiple bones rotation crash
Referenced by issue #55574, Crash on sequencer preview
1 changed files with 7 additions and 0 deletions

View File

@ -2624,6 +2624,13 @@ static int wm_handlers_do(bContext *C, wmEvent *event, ListBase *handlers)
else if (event->val == KM_DBL_CLICK) {
event->val = KM_PRESS;
action |= wm_handlers_do_intern(C, event, handlers);
event->val = KM_RELEASE;
action |= wm_handlers_do_intern(C, event, handlers);
if (wm_action_not_handled(action)) {
event->val = KM_CLICK;
action |= wm_handlers_do_intern(C, event, handlers);
}
/* revert value if not handled */
if (wm_action_not_handled(action)) {