mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 00:29:40 +02:00
Merge branch 'dk/zoneFilters2' of https://github.com/davidkelly/hifi into dk/zoneFilters2
This commit is contained in:
commit
d9319c2c2c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue