fix for release building

This commit is contained in:
Campbell Barton
2012-11-01 17:02:01 +00:00
parent 7b9360e05a
commit b2d21a1747

View File

@@ -2106,10 +2106,12 @@ void wm_event_do_handlers(bContext *C)
while ( (event = win->queue.first) ) {
int action = WM_HANDLER_CONTINUE;
#ifdef DEBUG
if (G.debug & (G_DEBUG_HANDLERS | G_DEBUG_EVENTS) && !ELEM(event->type, MOUSEMOVE, INBETWEEN_MOUSEMOVE)) {
printf("\n%s: Handling event\n", __func__);
WM_event_print(event);
}
#endif
wm_eventemulation(event);