Commit: 2534dffaa5fd04326f39c89da5b5216bea30abad
Author: Campbell Barton
Date:   Sat Mar 7 16:25:53 2020 +1100
Branches: master
https://developer.blender.org/rB2534dffaa5fd04326f39c89da5b5216bea30abad

WM: include repeat value in WM_event_print

===================================================================

M       source/blender/windowmanager/intern/wm_event_query.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_event_query.c 
b/source/blender/windowmanager/intern/wm_event_query.c
index 3cec185fd36..f1a03efa49b 100644
--- a/source/blender/windowmanager/intern/wm_event_query.c
+++ b/source/blender/windowmanager/intern/wm_event_query.c
@@ -67,7 +67,7 @@ void WM_event_print(const wmEvent *event)
 
     printf(
         "wmEvent  type:%d / %s, val:%d / %s,\n"
-        "         shift:%d, ctrl:%d, alt:%d, oskey:%d, keymodifier:%d,\n"
+        "         shift:%d, ctrl:%d, alt:%d, oskey:%d, keymodifier:%d, 
is_repeat:%d,\n"
         "         mouse:(%d,%d), ascii:'%c', utf8:'%.*s', pointer:%p\n",
         event->type,
         type_id,
@@ -78,6 +78,7 @@ void WM_event_print(const wmEvent *event)
         event->alt,
         event->oskey,
         event->keymodifier,
+        event->is_repeat,
         event->x,
         event->y,
         event->ascii,

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to