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.
meow-7.2.2
Nyx Linden 2013-05-03 17:30:36 -04:00
parent f3cc77377a
commit 668a822ace
1 changed files with 1 additions and 1 deletions

View File

@ -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))