summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolumeoctree.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-11-21 03:06:47 -0600
committerDave Parks <davep@lindenlab.com>2010-11-21 03:06:47 -0600
commitc149a0020bfc6983e7ce7a2426f324a6b8e75495 (patch)
treeef04a87b7718e9680ffec8a69bc8f03a9a974854 /indra/llmath/llvolumeoctree.cpp
parente4b502793da09c746d3b0c13782ec9ffb90c54d2 (diff)
Get rid of pointless redirection and malloc/free.
Diffstat (limited to 'indra/llmath/llvolumeoctree.cpp')
-rw-r--r--indra/llmath/llvolumeoctree.cpp2
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