Browse Source

fix control/shift mistake on oobe cleanup

David Rose 14 năm trước cách đây
mục cha
commit
c66ef96b2c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      direct/src/showbase/ShowBase.py

+ 1 - 1
direct/src/showbase/ShowBase.py

@@ -2106,7 +2106,7 @@ class ShowBase(DirectObject.DirectObject):
 
 
             # Restore the mouse interface node, and remove the oobe
             # Restore the mouse interface node, and remove the oobe
             # trackball from the data path.
             # trackball from the data path.
-            self.mouseInterfaceNode.clearButton(KeyboardButton.control())
+            self.mouseInterfaceNode.clearButton(KeyboardButton.shift())
             self.oobeTrackball.detachNode()
             self.oobeTrackball.detachNode()
 
 
             bt = self.buttonThrowers[0].node()
             bt = self.buttonThrowers[0].node()