parent query-cube should encompass child query-cube not child max-aa-cube

This commit is contained in:
Seth Alves 2015-12-21 11:05:07 -08:00
parent abaa329984
commit 3c2dac5cf8

View file

@ -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;