Fix CLICK event for modal operators.
authorMartin Poirier <theeth@yahoo.com>
Sun, 29 Nov 2009 16:49:26 +0000 (16:49 +0000)
committerMartin Poirier <theeth@yahoo.com>
Sun, 29 Nov 2009 16:49:26 +0000 (16:49 +0000)
commitae16f465738b538964e5f00c1506582d47ead7d1
tree6609ad15de8a7f2021be22e3d260ec88376aee5b
parent3b72584b7dd71737099184bc5a981874a7b4fa21
Fix CLICK event for modal operators.

modal operators should return RUNNING_MODAL|PASSTHROUGH for unhandled events to be able to receive clicks correctly (this needs to be fixed for other modal operators).

Maybe it's time to have "handled" flag in event instead.
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform.h
source/blender/editors/transform/transform_ops.c
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/wm_event_system.h