Make texture anims work right on singu
parent
0e809ab265
commit
036017bba7
|
@ -1879,6 +1879,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddTextureAnimation(Primitive.TextureAnimation pTexAnim)
|
public void AddTextureAnimation(Primitive.TextureAnimation pTexAnim)
|
||||||
|
{
|
||||||
|
if (((int)pTexAnim.Flags & 1) == 0) // ANIM_ON
|
||||||
{
|
{
|
||||||
byte[] data = new byte[16];
|
byte[] data = new byte[16];
|
||||||
int pos = 0;
|
int pos = 0;
|
||||||
|
@ -1897,6 +1899,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
m_TextureAnimation = data;
|
m_TextureAnimation = data;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_TextureAnimation = Utils.EmptyBytes;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void AdjustSoundGain(double volume)
|
public void AdjustSoundGain(double volume)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue