Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2012-11-01 19:51:24 +0400
committerTon Roosendaal <ton@blender.org>2012-11-01 19:51:24 +0400
commit818e9ff88d84f85ad729b8d7839ead21568cff20 (patch)
treefb003c3e2c11bc988a8c9328561d2c5dc0f81176 /source/blender/windowmanager/intern/wm_subwindow.c
parenta0f01ef8d8e7491ee0f5967614d807f8376cfe47 (diff)
Bugfix #33038
TIMER events could get keymodifier set - in this case the user assigned spacebar modifier for setting views (running smoothview timer) Also: cleaned op old hacks from event checking code. The rule should be: 1) generate event properly, frozen state 2) pass on to handlers without exceptions or changing internal state The only exception currently is for the "CLICK" (map key-release to unhandled key-press). Also: made --debug-event print OK. Slight cleanup in eventprinting in general. It was putting the wmEvent state print in wrong place, doing it 4 or 8 times.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_subwindow.c')
-rw-r--r--source/blender/windowmanager/intern/wm_subwindow.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_subwindow.c b/source/blender/windowmanager/intern/wm_subwindow.c
index e33f936b4da..8533494ae96 100644
--- a/source/blender/windowmanager/intern/wm_subwindow.c
+++ b/source/blender/windowmanager/intern/wm_subwindow.c
@@ -163,10 +163,6 @@ int wm_subwindow_open(wmWindow *win, rcti *winrct)
win->curswin = swin = MEM_callocN(sizeof(wmSubWindow), "swinopen");
BLI_addtail(&win->subwindows, swin);
- if (G.debug & G_DEBUG_EVENTS) {
- printf("%s: swin %d added\n", __func__, freewinid);
- }
-
swin->swinid = freewinid;
swin->winrct = *winrct;