Fix filter permissions in event streams

refs #9078
This commit is contained in:
Michael Friedrich 2015-10-21 15:38:26 +02:00
parent 286538c17e
commit cb99402766
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ bool EventQueue::CanProcessEvent(const String& type) const
void EventQueue::ProcessEvent(const Dictionary::Ptr& event)
{
ScriptFrame frame;
frame.Sandboxed = true;
if (!FilterUtility::EvaluateFilter(frame, m_Filter, event, "event"))
return;