Blender Git Commit Log

Git Commits -> Revision deab0d1

Revision deab0d1 by Brecht Van Lommel (master)
January 28, 2014, 15:15 (GMT)
Fix T38381, Fix T38184: key events getting lost when modal operator is running.

There is a hack for modal keymaps and double click events, which was (ab)using
the wmEvent.prevval variable to temporarily assign it KM_DBL_CLICK indicating
that the double click event was disabled. However the value of prevval can
actually be KM_DBL_CLICK in other circumstances too, which caused a key press
event to get converted to a double click event.

Commit Details:

Full Hash: deab0d10402b59652ec5e19836856eb238af863e
Parent Commit: 4683ac3
Lines Changed: +8, -7

1 Modified Path:

/source/blender/windowmanager/intern/wm_event_system.c (+8, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021