Add fudge factor when calculating avatar height. Fixes FIRE-370.

meow-7.2.2
Tonya Souther 2011-01-29 09:09:20 -06:00
parent 5cfa1212b0
commit 16b6f4e93c
1 changed files with 3 additions and 1 deletions

View File

@ -1232,7 +1232,9 @@ void LLPanelEditWearable::updateTypeSpecificControls(LLWearableType::EType type)
if (type == LLWearableType::WT_SHAPE)
{
// Update avatar height
F32 new_size = gAgentAvatarp->mBodySize.mV[VZ];
// The .195 is a fudge factor derived by measuring against
// prims inworld, and carried forward from Phoenix. -- TS
F32 new_size = gAgentAvatarp->mBodySize.mV[VZ] + .195;
if (gSavedSettings.getBOOL("HeightUnits") == FALSE)
{
// convert meters to feet