From f26cdfd0572bf818e9a266759a814dbdebfad1fa Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 2 Feb 2008 16:42:46 +0000 Subject: * Fixed llSetTextureAnim to respect rate and Length and Start --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index b7c0596..043b094 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -1404,9 +1404,9 @@ namespace OpenSim.Region.Environment.Scenes data[pos] = (byte)pTexAnim.SizeX; pos++; data[pos] = (byte)pTexAnim.SizeX; pos++; - Helpers.FloatToBytes(0).CopyTo(data, pos); - Helpers.FloatToBytes(0).CopyTo(data, pos + 4); - Helpers.FloatToBytes(0.5f).CopyTo(data, pos + 8); + Helpers.FloatToBytes(pTexAnim.Start).CopyTo(data, pos); + Helpers.FloatToBytes(pTexAnim.Length ).CopyTo(data, pos + 4); + Helpers.FloatToBytes(pTexAnim.Rate).CopyTo(data, pos + 8); m_TextureAnimation = data; } -- cgit v1.1