Browse Source

*** empty log message ***

Mark Mine 24 years ago
parent
commit
4b0a7356ab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/gui/DirectGuiBase.py

+ 2 - 2
direct/src/gui/DirectGuiBase.py

@@ -743,7 +743,7 @@ class DirectGuiWidget(DirectGuiBase, NodePath):
         self.bind(B2PRESS, self.editStart)
         self.bind(B2PRESS, self.editStart)
         self.bind(B2RELEASE, self.editStop)
         self.bind(B2RELEASE, self.editStop)
         self.bind(PRINT, self.printConfig)
         self.bind(PRINT, self.printConfig)
-        mb = ModifierButtons(base.mouseWatcherNode.getModifierButtons())
+        mb = base.mouseWatcherNode.getModifierButtons()
         mb.addButton(KeyboardButton.alt())
         mb.addButton(KeyboardButton.alt())
         base.mouseWatcherNode.setModifierButtons(mb)
         base.mouseWatcherNode.setModifierButtons(mb)
 
 
@@ -751,7 +751,7 @@ class DirectGuiWidget(DirectGuiBase, NodePath):
         self.unbind(B2PRESS)
         self.unbind(B2PRESS)
         self.unbind(B2RELEASE)
         self.unbind(B2RELEASE)
         self.unbind(PRINT)
         self.unbind(PRINT)
-        mb = ModifierButtons(base.mouseWatcherNode.getModifierButtons())
+        mb = base.mouseWatcherNode.getModifierButtons()
         mb.removeButton(KeyboardButton.alt())
         mb.removeButton(KeyboardButton.alt())
         base.mouseWatcherNode.setModifierButtons(mb)
         base.mouseWatcherNode.setModifierButtons(mb)