From e2a7b81ed543960f117995e0eabf99ff006bc2d5 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 18 Mar 2011 19:03:26 +0000 Subject: [PATCH] oobe control key needs to be shift, not control, to avoid conflict with existing trackball control keys --- direct/src/showbase/ShowBase.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index 619fba962d..f63a0dc570 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -2131,11 +2131,11 @@ class ShowBase(DirectObject.DirectObject): self.oobeCamera.clearMat() # Make the regular MouseInterface node respond only when - # the control button is pressed. And the oobe node will - # respond only when control is *not* pressed. + # the shift button is pressed. And the oobe node will + # respond only when shift is *not* pressed. - self.mouseInterfaceNode.requireButton(KeyboardButton.control(), True) - self.oobeTrackball.node().requireButton(KeyboardButton.control(), False) + self.mouseInterfaceNode.requireButton(KeyboardButton.shift(), True) + self.oobeTrackball.node().requireButton(KeyboardButton.shift(), False) self.oobeTrackball.reparentTo(self.mouseWatcher) # Set our initial OOB position to be just behind the camera.