Comment no longer accurate.
authorNicholas Rishel <rishel.nick@gmail.com>
Fri, 15 Jun 2012 01:43:07 +0000 (01:43 +0000)
committerNicholas Rishel <rishel.nick@gmail.com>
Fri, 15 Jun 2012 01:43:07 +0000 (01:43 +0000)
source/blender/windowmanager/intern/wm_event_system.c

index 5f2d9c6..c46c382 100644 (file)
@@ -2716,7 +2716,6 @@ void wm_event_add_ghostevent(wmWindowManager *wm, wmWindow *win, int type, int U
                case GHOST_kEventButtonUp: {
                        GHOST_TEventButtonData *bd = customdata;
 
-                       /* Note!, this starts as 0/1 but later is converted to KM_PRESS/KM_RELEASE by tweak */
                        event.val = (type == GHOST_kEventButtonDown) ? KM_PRESS : KM_RELEASE;
                        
                        if (bd->button == GHOST_kButtonMaskLeft)