diff --git a/libraries/shared/src/SpatiallyNestable.cpp b/libraries/shared/src/SpatiallyNestable.cpp index 43632825be..45cd7fec02 100644 --- a/libraries/shared/src/SpatiallyNestable.cpp +++ b/libraries/shared/src/SpatiallyNestable.cpp @@ -531,17 +531,6 @@ void SpatiallyNestable::forEachDescendant(std::functionlocationChanged(); }); @@ -549,7 +538,9 @@ void SpatiallyNestable::locationChanged() { void SpatiallyNestable::setQueryAACube(const AACube& queryAACube) { _queryAACube = queryAACube; - _queryAACubeSet = true; + if (queryAACube.getScale() > 0.0f) { + _queryAACubeSet = true; + } } AACube SpatiallyNestable::getMaximumAACube(bool& success) const {