diff options
author | callum_linden <none@none> | 2014-11-14 14:50:50 -0800 |
---|---|---|
committer | callum_linden <none@none> | 2014-11-14 14:50:50 -0800 |
commit | ee5463a903708629f41caeb2b6aca1334223781e (patch) | |
tree | 3249f69e13c9424f81c9aa3cf6e3b77337cfd3ad /indra/llmath/lloctree.h | |
parent | 129be3f65d7efc2eea617bac7f7ec1a2a43a70c9 (diff) |
Reworked changes to more closely match Cinders' - hers seem more correct
Diffstat (limited to 'indra/llmath/lloctree.h')
-rwxr-xr-x | indra/llmath/lloctree.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h index 7fa1661bc2..4d4923acf0 100755 --- a/indra/llmath/lloctree.h +++ b/indra/llmath/lloctree.h @@ -445,7 +445,7 @@ public: mDataEnd = &mData[0]; } - BaseType::notifyRemoval(data); + this->notifyRemoval(data); checkAlive(); } @@ -755,10 +755,10 @@ public: return false; } - if (this->getSize()[0] > data->getBinRadius() && oct_node::isInside(data->getPositionGroup())) + if (this->getSize()[0] > data->getBinRadius() && this->isInside(data->getPositionGroup())) { //we got it, just act like a branch - oct_node* node = oct_node::getNodeAt(data); + oct_node* node = this->getNodeAt(data); if (node == this) { LLOctreeNode<T>::insert(data); @@ -771,7 +771,7 @@ public: else if (this->getChildCount() == 0) { //first object being added, just wrap it up - while (!(this->getSize()[0] > data->getBinRadius() && oct_node::isInside(data->getPositionGroup()))) + while (!(this->getSize()[0] > data->getBinRadius() && this->isInside(data->getPositionGroup()))) { LLVector4a center, size; center = this->getCenter(); @@ -786,7 +786,7 @@ public: } else { - while (!(this->getSize()[0] > data->getBinRadius() && oct_node::isInside(data->getPositionGroup()))) + while (!(this->getSize()[0] > data->getBinRadius() && this->isInside(data->getPositionGroup()))) { //the data is outside the root node, we need to grow LLVector4a center(this->getCenter()); |