diff options
author | Tofu Buzzard <no-email> | 2011-02-02 17:42:18 -0800 |
---|---|---|
committer | Tofu Buzzard <no-email> | 2011-02-02 17:42:18 -0800 |
commit | 8e133ef2e30973ddda886ed71a0b4873fe384baf (patch) | |
tree | 38db2ba3b2c67378b594f67a06f22111c1d3e975 /indra/newview/llface.cpp | |
parent | 0d1d61680ac8ab12256ef0d180ab00ee8799cb0a (diff) | |
parent | 46c9f61abdd9326c7a52159370b20800941c72fa (diff) |
merge
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r-- | indra/newview/llface.cpp | 3 |
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(); } |