Fix scoping rules for apply rules

fixes #7503
This commit is contained in:
Gunnar Beutner 2014-10-30 09:20:42 +01:00
parent bfcf1b3eb8
commit f8f89cef6d
1 changed files with 1 additions and 4 deletions

View File

@ -71,10 +71,7 @@ void ApplyRule::AddRule(const String& sourceType, const String& targetType, cons
bool ApplyRule::EvaluateFilter(const Dictionary::Ptr& scope) const
{
scope->Set("__parent", m_Scope);
bool result = m_Filter->Evaluate(scope);
scope->Remove("__parent");
return result;
return m_Filter->Evaluate(scope);
}
void ApplyRule::EvaluateRules(bool clear)