Event system cleanup: bringing KM_CLICK back in control.
authorTon Roosendaal <ton@blender.org>
Sun, 28 Oct 2012 11:19:35 +0000 (11:19 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 28 Oct 2012 11:19:35 +0000 (11:19 +0000)
commitdca3587edd155a313044ed5f2b4f94e2c4bb6bce
tree40360e52b1df1620a5e53044c0a53c81a859d41b
parent581983319132afa62c096ec701b28c3269c29335
Event system cleanup: bringing KM_CLICK back in control.

- Solved Modal Keymap hijack of event codes
  (with note this should be coded better)

- Added dedicated state variable check_click in event to trigger it

All this in an attempt to get code understandable and predictable again. :)

This solves error like:
- editmode mesh
- select a vertex
- grab it, press control for grid snap
- on LMB assign, it also did an extrude.
source/blender/windowmanager/WM_types.h
source/blender/windowmanager/intern/wm_event_system.c