From 3c2dac5cf8226e9627f4ff97c3230911f2e3e1fd Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Mon, 21 Dec 2015 11:05:07 -0800 Subject: [PATCH] parent query-cube should encompass child query-cube not child max-aa-cube --- libraries/shared/src/SpatiallyNestable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/shared/src/SpatiallyNestable.cpp b/libraries/shared/src/SpatiallyNestable.cpp index 0880d39356..f273aaadda 100644 --- a/libraries/shared/src/SpatiallyNestable.cpp +++ b/libraries/shared/src/SpatiallyNestable.cpp @@ -588,7 +588,7 @@ bool SpatiallyNestable::setPuffedQueryAACube() { getThisPointer()->forEachDescendant([&](SpatiallyNestablePointer descendant) { bool success; - AACube descendantAACube = descendant->getMaximumAACube(success); + AACube descendantAACube = descendant->getQueryAACube(success); if (success) { if (_queryAACube.contains(currentAACube)) { return;