diff options
author | Dave Parks <davep@lindenlab.com> | 2010-11-21 03:06:47 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-11-21 03:06:47 -0600 |
commit | c149a0020bfc6983e7ce7a2426f324a6b8e75495 (patch) | |
tree | ef04a87b7718e9680ffec8a69bc8f03a9a974854 /indra/llmath/llvolumeoctree.cpp | |
parent | e4b502793da09c746d3b0c13782ec9ffb90c54d2 (diff) |
Get rid of pointless redirection and malloc/free.
Diffstat (limited to 'indra/llmath/llvolumeoctree.cpp')
-rw-r--r-- | indra/llmath/llvolumeoctree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/llvolumeoctree.cpp b/indra/llmath/llvolumeoctree.cpp index 3a7cb4940a..cc97026ad4 100644 --- a/indra/llmath/llvolumeoctree.cpp +++ b/indra/llmath/llvolumeoctree.cpp @@ -191,7 +191,7 @@ void LLOctreeTriangleRayIntersect::visit(const LLOctreeNode<LLVolumeTriangle>* n const LLVector4a& LLVolumeTriangle::getPositionGroup() const { - return *mPositionGroup; + return mPositionGroup; } const F32& LLVolumeTriangle::getBinRadius() const |