summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2011-03-23 16:01:12 -0400
committerNyx (Neal Orman) <nyx@lindenlab.com>2011-03-23 16:01:12 -0400
commit9f2987d995e8a2273f723a387dd587c3dc988056 (patch)
tree04afb70ca61d13df494b4022c74c4d1763eeaa14 /indra/llmath
parentd7eb9b36fe7c801d9bbb554ef40c3d8d712f5bfb (diff)
second pass at render complexity debug display.
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/lloctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h
index fdfc24f8b7..179ad7ecfd 100644
--- a/indra/llmath/lloctree.h
+++ b/indra/llmath/lloctree.h
@@ -294,7 +294,7 @@ public:
//is it here?
if (isInside(data->getPositionGroup()))
{
- if ((getElementCount() < LL_OCTREE_MAX_CAPACITY && contains(data->getBinRadius()) ||
+ if (((getElementCount() < LL_OCTREE_MAX_CAPACITY && contains(data->getBinRadius())) ||
(data->getBinRadius() > getSize()[0] && parent && parent->getElementCount() >= LL_OCTREE_MAX_CAPACITY)))
{ //it belongs here
#if LL_OCTREE_PARANOIA_CHECK