From 16b6f4e93cb9d18d1b9d78fa8aec0ca9c3609f28 Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Sat, 29 Jan 2011 09:09:20 -0600 Subject: [PATCH] Add fudge factor when calculating avatar height. Fixes FIRE-370. --- indra/newview/llpaneleditwearable.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp index 90ed8b9e58..f674960b2a 100644 --- a/indra/newview/llpaneleditwearable.cpp +++ b/indra/newview/llpaneleditwearable.cpp @@ -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