mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
minor optimization
This commit is contained in:
parent
e19f365f19
commit
a6d4fe0c07
@ -55,7 +55,7 @@ class EventManager:
|
||||
eventParameterData = self.parseEventParameter(eventParameter)
|
||||
paramList.append(eventParameterData)
|
||||
# Do not print the new frame debug, it is too noisy!
|
||||
if (eventName != 'NewFrame'):
|
||||
if (EventManager.notify.getDebug() and eventName != 'NewFrame'):
|
||||
EventManager.notify.debug('received C++ event named: ' + eventName +
|
||||
' parameters: ' + `paramList`)
|
||||
# Send the event, we used to send it with the event
|
||||
|
Loading…
x
Reference in New Issue
Block a user