added name to direct joybox button thrower

This commit is contained in:
Mark Mine 2002-04-04 21:49:55 +00:00
parent 5f078e5eb0
commit 69097c9ec4
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class DirectJoybox(PandaObject):
self.buttons.setButtonMap(
i, self.breg.getButton(self.getEventName(i)))
self.eventThrower = self.buttons.getNodePath().attachNewNode(
ButtonThrower())
ButtonThrower('JB Button Thrower'))
def setNodePath(self, nodePath):
self.nodePath = nodePath