mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -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)))
|
||||
return self.state.get(name)
|
||||
|
||||
if __debug__:
|
||||
def debugPrint(self, message):
|
||||
"""for debugging"""
|
||||
return self.notify.debug(
|
||||
"%s (%s) %s"%(id(self), len(self.state), message))
|
||||
|
||||
def debugPrint(self, message):
|
||||
"""for debugging"""
|
||||
return self.notify.debug(
|
||||
"%s (%s) %s"%(id(self), len(self.state), message))
|
||||
|
Loading…
x
Reference in New Issue
Block a user