diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-04-06 18:20:32 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-04-06 18:20:32 -0400 |
commit | 9e232094a91254a05b7caa74a0ccac23aa69439f (patch) | |
tree | c984f2202ef25ac4d8c71f8ce237f11d15bac913 /indra/newview/llphysicsmotion.cpp | |
parent | e4819d9b22deebf080ca262a5a110a0ddfaee672 (diff) | |
parent | 8374b50ae36e33872c93d054037a582887363df6 (diff) |
merge
Diffstat (limited to 'indra/newview/llphysicsmotion.cpp')
-rw-r--r-- | indra/newview/llphysicsmotion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llphysicsmotion.cpp b/indra/newview/llphysicsmotion.cpp index acf8973f03..c15e72744f 100644 --- a/indra/newview/llphysicsmotion.cpp +++ b/indra/newview/llphysicsmotion.cpp @@ -628,7 +628,7 @@ BOOL LLPhysicsMotion::onUpdate(F32 time) const F32 area_for_max_settings = 0.0;
const F32 area_for_min_settings = 1400.0;
const F32 area_for_this_setting = area_for_max_settings + (area_for_min_settings-area_for_max_settings)*(1.0-lod_factor);
- const F32 pixel_area = fsqrtf(mCharacter->getPixelArea());
+ const F32 pixel_area = sqrtf(mCharacter->getPixelArea());
const BOOL is_self = (dynamic_cast<LLVOAvatarSelf *>(mCharacter) != NULL);
if ((pixel_area > area_for_this_setting) || is_self)
|