Serious fix for the Tintable tattoos!
Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
@@ -378,7 +378,7 @@ void LLCharacter::clearVisualParamWeights()
|
||||
param;
|
||||
param = getNextVisualParam())
|
||||
{
|
||||
if (param->getGroup() == VISUAL_PARAM_GROUP_TWEAKABLE)
|
||||
if (param->isTweakable())
|
||||
{
|
||||
param->setWeight( param->getDefaultWeight(), FALSE );
|
||||
}
|
||||
@@ -394,7 +394,7 @@ BOOL LLCharacter::visualParamWeightsAreDefault()
|
||||
param;
|
||||
param = getNextVisualParam())
|
||||
{
|
||||
if (param->getGroup() == VISUAL_PARAM_GROUP_TWEAKABLE)
|
||||
if (param->isTweakable())
|
||||
{
|
||||
if (param->getWeight() != param->getDefaultWeight())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user