summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-09-20 09:48:56 -0400
committerDave Parks <davep@lindenlab.com>2012-09-20 09:48:56 -0400
commit4127f3e7fcc725dbbf500c52605c5b950073c828 (patch)
tree298b231306a5f7cde8c8688fd1a0a2e3d9a9c59f /indra/llmath/llvolume.cpp
parentcf98064700a736f73a6c21ce899b186919cbeb64 (diff)
reapply efcec3eb374f: MAINT-646 Factor std::vector out of lloctree
Diffstat (limited to 'indra/llmath/llvolume.cpp')
-rw-r--r--indra/llmath/llvolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index 919079fa88..85ea14f9bc 100644
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -341,7 +341,7 @@ public:
max.setMax(max, *tri->mV[2]);
}
}
- else if (!branch->getChildren().empty())
+ else if (!branch->isLeaf())
{ //no data, but child nodes exist
LLVolumeOctreeListener* child = (LLVolumeOctreeListener*) branch->getChild(0)->getListener(0);