From 4d9f4785c711a7722813f3267a67d82b6f525a41 Mon Sep 17 00:00:00 2001 From: Zachary Pavlov Date: Thu, 2 Nov 2006 23:46:27 +0000 Subject: [PATCH] commented out down setting for resume_down case. This is a fix for the first key missed bug --- panda/src/tform/mouseWatcher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/tform/mouseWatcher.cxx b/panda/src/tform/mouseWatcher.cxx index f7afc70f52..73151299d0 100644 --- a/panda/src/tform/mouseWatcher.cxx +++ b/panda/src/tform/mouseWatcher.cxx @@ -1365,7 +1365,7 @@ do_transmit_data(DataGraphTraverser *trav, const DataNodeTransmit &input, break; case ButtonEvent::T_resume_down: - _current_buttons_down.set_bit(be._button.get_index()); + //_current_buttons_down.set_bit(be._button.get_index()); // Don't call press(), since the button wasn't actually // pressed just now. new_button_events.add_event(be);