summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-02-02 19:03:03 -0600
committerDave Parks <davep@lindenlab.com>2011-02-02 19:03:03 -0600
commit5bd5d918caa63338a678e2c94db9195f77867e8a (patch)
tree4293c41109adb4b77ec6d0c4d5aec741bd7d092f /indra/newview/llface.cpp
parent33f82d788502a036953b676bfcb709d968b2a569 (diff)
parentbb113f75efefffc1f976267be6d722289929e596 (diff)
merge
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r--indra/newview/llface.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 1576ef0769..863e335f4a 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -761,8 +761,7 @@ BOOL LLFace::genVolumeBBoxes(const LLVolume &volume, S32 f,
mCenterLocal.set(t.getF32ptr());
t.setSub(newMax,newMin);
- t.mul(0.5f);
- mBoundingSphereRadius = t.getLength3().getF32();
+ mBoundingSphereRadius = t.getLength3().getF32()*0.5f;
updateCenterAgent();
}