diff options
| author | Dave Parks <davep@lindenlab.com> | 2011-04-21 16:23:00 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2011-04-21 16:23:00 -0500 |
| commit | 19857d0cf0eedb76cac4eb8a1a4a0b33de9e4235 (patch) | |
| tree | 09d6015fedca390d1a259a9911491087cf088df5 /indra/newview/llphysicsmotion.cpp | |
| parent | 120f31502eb521c1e0abaeb24972f070e7f75bd6 (diff) | |
| parent | 4bbfdd4c1fc18162960ba61fbdad40940a4cdd89 (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 23fa0cbd9c..f40056adbc 100644 --- a/indra/newview/llphysicsmotion.cpp +++ b/indra/newview/llphysicsmotion.cpp @@ -637,7 +637,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) |
