984 |
// script event object |
// script event object |
985 |
RTList<ScriptEvent>::Iterator itScriptEvent = |
RTList<ScriptEvent>::Iterator itScriptEvent = |
986 |
pChannel->pScript->pEvents->allocAppend(); |
pChannel->pScript->pEvents->allocAppend(); |
987 |
|
// if event handler uses polyphonic variables, reset them |
988 |
|
// to zero values before starting to execute the handler |
989 |
|
if (pEventHandler->isPolyphonic()) |
990 |
|
itScriptEvent->execCtx->resetPolyphonicData(); |
991 |
ProcessScriptEvent( |
ProcessScriptEvent( |
992 |
pChannel, itEvent, pEventHandler, itScriptEvent |
pChannel, itEvent, pEventHandler, itScriptEvent |
993 |
); |
); |