summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-05-03 17:30:36 -0400
committerNyx Linden <nyx@lindenlab.com>2013-05-03 17:30:36 -0400
commit668a822ace1a7f1dffd090bbdd68712c31d0ac5c (patch)
treefb00186778688cd6296d93d36a66a0f7e8cc345e
parentf3cc77377a689fdb8a8ddbbf47e65f5af957a72b (diff)
SH-4147 FIX Macro avatars with hover==0 look incorrect on relog
Inverted logic meant that we would enforce minimums only while in preview renders, not for actual user adjustments. This seems to fix it.
-rwxr-xr-xindra/newview/llvoavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 3189507b53..e2ed6f54cc 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -5225,7 +5225,7 @@ void LLVOAvatar::computeBodySize()
if (isSelf() && getWearableData())
{
LLViewerWearable* shape = (LLViewerWearable*)getWearableData()->getWearable(LLWearableType::WT_SHAPE, 0);
- if (shape && shape->getVolitile())
+ if (shape && !shape->getVolitile())
{
F32 hover_value = shape->getVisualParamWeight(AVATAR_HOVER);
if (hover_value < 0.0f && (mBodySize.mV[VZ] + hover_value < 1.1f))