Small tweak in event debug printing:
authorTon Roosendaal <ton@blender.org>
Tue, 12 Feb 2013 19:08:04 +0000 (19:08 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 12 Feb 2013 19:08:04 +0000 (19:08 +0000)
- missing print for case event gets handled AND passed on (selecting)

source/blender/windowmanager/intern/wm_event_system.c

index 7862d6286cf01a68b053f363885888793540a1dd..206297d2c95c70ad4f51624deee31c33133a58d7 100644 (file)
@@ -1765,6 +1765,10 @@ static int wm_handlers_do_intern(bContext *C, wmEvent *event, ListBase *handlers
                                                                break;
                                                        }
                                                        else {
+                                                               if (action & WM_HANDLER_HANDLED)
+                                                                       if (G.debug & (G_DEBUG_EVENTS | G_DEBUG_HANDLERS))
+                                                                               printf("%s:       handled - and pass on! '%s'\n", __func__, kmi->idname);
+                                                               
 #ifndef NDEBUG
                                                                if (do_debug_handler) {
                                                                        printf("%s:       un-handled '%s'...", __func__, kmi->idname);