mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
added assert to debugging output
This commit is contained in:
parent
719e77a191
commit
f2a3a45100
@ -1724,7 +1724,7 @@ class ShowBase(DirectObject.DirectObject):
|
|||||||
id+=1
|
id+=1
|
||||||
# Setup the button thrower for that device and register it's event prefix
|
# Setup the button thrower for that device and register it's event prefix
|
||||||
bt = idn.attachNewNode(ButtonThrower(prefix))
|
bt = idn.attachNewNode(ButtonThrower(prefix))
|
||||||
self.notify.debug("Registred event prefix {}{}-".format(prefix, id))
|
assert self.notify.debug("Registered event prefix {}{}-".format(prefix, id))
|
||||||
bt.node().setPrefix("{}{}-".format(prefix, id))
|
bt.node().setPrefix("{}{}-".format(prefix, id))
|
||||||
# append the new button thrower to the list of device button throwers
|
# append the new button thrower to the list of device button throwers
|
||||||
self.deviceButtonThrowers.append(bt)
|
self.deviceButtonThrowers.append(bt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user