mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
drose - for some reason, indenting the function within if __debug__ prevents compiling for publish
This commit is contained in:
parent
972f56a621
commit
d7b13b6b7a
@ -62,9 +62,7 @@ class InputState(DirectObject.DirectObject):
|
|||||||
#assert(self.debugPrint("isSet(name=%s)"%(name)))
|
#assert(self.debugPrint("isSet(name=%s)"%(name)))
|
||||||
return self.state.get(name)
|
return self.state.get(name)
|
||||||
|
|
||||||
if __debug__:
|
def debugPrint(self, message):
|
||||||
def debugPrint(self, message):
|
"""for debugging"""
|
||||||
"""for debugging"""
|
return self.notify.debug(
|
||||||
return self.notify.debug(
|
"%s (%s) %s"%(id(self), len(self.state), message))
|
||||||
"%s (%s) %s"%(id(self), len(self.state), message))
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user