diff options
author | callum_linden <none@none> | 2014-11-14 14:52:12 -0800 |
---|---|---|
committer | callum_linden <none@none> | 2014-11-14 14:52:12 -0800 |
commit | 78a75ca00f77d98a2fc62e8828df2eb5600bbad4 (patch) | |
tree | 5381dc9caaa461c05dec76704248e0a804703e65 /indra/llmath | |
parent | ee5463a903708629f41caeb2b6aca1334223781e (diff) |
Cinder pointed out my fix here for clang pickiness was different from hers so I investigated and this is the causes of the slowdown - wrongly placed parens
Diffstat (limited to 'indra/llmath')
-rwxr-xr-x | indra/llmath/lloctree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h index 4d4923acf0..280d2653d3 100755 --- a/indra/llmath/lloctree.h +++ b/indra/llmath/lloctree.h @@ -322,8 +322,8 @@ public: //is it here? if (isInside(data->getPositionGroup())) { - if (((getElementCount() < gOctreeMaxCapacity || ((getSize()[0] <= gOctreeMinSize) && contains(data->getBinRadius()))) || - ((data->getBinRadius() > getSize()[0] && parent && parent->getElementCount() >= gOctreeMaxCapacity)))) + if ((((getElementCount() < gOctreeMaxCapacity || getSize()[0] <= gOctreeMinSize) && contains(data->getBinRadius())) || + (data->getBinRadius() > getSize()[0] && parent && parent->getElementCount() >= gOctreeMaxCapacity))) { //it belongs here mData.push_back(NULL); mData[mElementCount] = data; |