MAINT-5733 / BUG-10459: Disable code preventing scripted alpha mode changes not showing up until after relog for now until it is properly fixed

meow-7.2.2
Ansariel 2015-10-13 14:33:20 +02:00
parent a726c20e35
commit 6b86da3434
1 changed files with 7 additions and 5 deletions

View File

@ -372,11 +372,13 @@ S32 LLPrimTextureList::setMaterialParams(const U8 index, const LLMaterialPtr pMa
{
if (index < mEntryList.size())
{
if (!isInitFromServer && mEntryList[index]->isMatParamsInitFromServer())
{
return TEM_CHANGE_NONE;
}
else
// <FS:Ansariel> MAINT-5733 / BUG-10459: Scripted alpha mode changes don't show up until after relog
//if (!isInitFromServer && mEntryList[index]->isMatParamsInitFromServer())
//{
// return TEM_CHANGE_NONE;
//}
//else
// </FS:Ansariel>
{
return mEntryList[index]->setMaterialParams(pMaterialParams);
}