summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorTofu Buzzard <no-email>2011-02-02 17:42:00 -0800
committerTofu Buzzard <no-email>2011-02-02 17:42:00 -0800
commit46c9f61abdd9326c7a52159370b20800941c72fa (patch)
tree9523a793df8bf78104453d5bd4d4d85585cc1018 /indra/newview/llface.cpp
parente0dd36df5f468a8c6949760e217578852553de21 (diff)
parent5bd5d918caa63338a678e2c94db9195f77867e8a (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();
}