[Bf-taskforce25] Modal event queues: important note

Ton Roosendaal ton at blender.org
Tue Jul 21 13:04:51 CEST 2009


Hi,

How to use modal maps has been documented in commit; but for now check 
this at least, otherwise your code won't work:

***********
To support 'key release' the define KM_RELEASE now is officially
used in event manager, this is not '0', so don't check key events with
the old convention if(event->val) but use if(event->val==KM_PRESS)
***********

interface.c and transform.c have been checked for this.

-Ton-

------------------------------------------------------------------------
Ton Roosendaal  Blender Foundation   ton at blender.org    www.blender.org
Blender Institute   Entrepotdok 57A  1018AD Amsterdam   The Netherlands



More information about the Bf-taskforce25 mailing list