Merge branch 'dk/zoneFilters2' of https://github.com/davidkelly/hifi into dk/zoneFilters2

This commit is contained in:
David Kelly 2017-02-13 10:23:48 -07:00
commit d9319c2c2c

View file

@ -929,7 +929,8 @@ bool EntityTree::filterProperties(EntityItemPointer& existingEntity, EntityItemP
bool accepted = true;
auto entityEditFilters = DependencyManager::get<EntityEditFilters>();
if (entityEditFilters) {
accepted = entityEditFilters->filter(existingEntity->getPosition(), propertiesIn, propertiesOut, wasChanged, filterType);
auto position = existingEntity->getPosition();
accepted = entityEditFilters->filter(position, propertiesIn, propertiesOut, wasChanged, filterType);
}
return accepted;