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
parent
f3cc77377a
commit
668a822ace
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue