Dragged over lltexlayer, lldriverparam, lllocaltextureobject, llwearabledata

This commit is contained in:
Shyotl
2013-01-04 20:50:35 -06:00
parent 5ada2d4b6f
commit 9596514c79
57 changed files with 3350 additions and 2819 deletions

View File

@@ -269,7 +269,7 @@ void LLScrollingPanelParam::onHintHeldDown( bool max )
&& new_percent < slider->getMaxValue())
{
mWearable->setVisualParamWeight(param->getID(), new_weight, FALSE);
mWearable->writeToAvatar();
mWearable->writeToAvatar(gAgentAvatarp);
gAgentAvatarp->updateVisualParams();
slider->setValue( weightToPercent( new_weight ) );
@@ -308,7 +308,7 @@ void LLScrollingPanelParam::onHintMouseUp( bool max )
&& new_percent < slider->getMaxValue())
{
mWearable->setVisualParamWeight(param->getID(), new_weight, FALSE);
mWearable->writeToAvatar();
mWearable->writeToAvatar(gAgentAvatarp);
slider->setValue( weightToPercent( new_weight ) );
}
}