Make texture anims work right on singu

avinationmerge
Melanie Thielker 2014-08-11 02:07:23 +02:00
parent 4707c48828
commit 01e381fa33
1 changed files with 19 additions and 12 deletions

View File

@ -1877,6 +1877,8 @@ namespace OpenSim.Region.Framework.Scenes
}
public void AddTextureAnimation(Primitive.TextureAnimation pTexAnim)
{
if (((int)pTexAnim.Flags & 1) == 0) // ANIM_ON
{
byte[] data = new byte[16];
int pos = 0;
@ -1895,6 +1897,11 @@ namespace OpenSim.Region.Framework.Scenes
m_TextureAnimation = data;
}
else
{
m_TextureAnimation = Utils.EmptyBytes;
}
}
public void AdjustSoundGain(double volume)
{