Add fudge factor when calculating avatar height. Fixes FIRE-370.
parent
5cfa1212b0
commit
16b6f4e93c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue