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…
Reference in New Issue