aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2008-02-02 16:42:46 +0000
committerTeravus Ovares2008-02-02 16:42:46 +0000
commitf26cdfd0572bf818e9a266759a814dbdebfad1fa (patch)
treec28d813d44f96d68a66a16b72fc3060a90bef561
parentIn an attempt to solve multihomed UDP problem I seem to have bound UDP socket... (diff)
downloadopensim-SC_OLD-f26cdfd0572bf818e9a266759a814dbdebfad1fa.zip
opensim-SC_OLD-f26cdfd0572bf818e9a266759a814dbdebfad1fa.tar.gz
opensim-SC_OLD-f26cdfd0572bf818e9a266759a814dbdebfad1fa.tar.bz2
opensim-SC_OLD-f26cdfd0572bf818e9a266759a814dbdebfad1fa.tar.xz
* Fixed llSetTextureAnim to respect rate and Length and Start
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs6
1 files changed, 3 insertions, 3 deletions
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
1404 data[pos] = (byte)pTexAnim.SizeX; pos++; 1404 data[pos] = (byte)pTexAnim.SizeX; pos++;
1405 data[pos] = (byte)pTexAnim.SizeX; pos++; 1405 data[pos] = (byte)pTexAnim.SizeX; pos++;
1406 1406
1407 Helpers.FloatToBytes(0).CopyTo(data, pos); 1407 Helpers.FloatToBytes(pTexAnim.Start).CopyTo(data, pos);
1408 Helpers.FloatToBytes(0).CopyTo(data, pos + 4); 1408 Helpers.FloatToBytes(pTexAnim.Length ).CopyTo(data, pos + 4);
1409 Helpers.FloatToBytes(0.5f).CopyTo(data, pos + 8); 1409 Helpers.FloatToBytes(pTexAnim.Rate).CopyTo(data, pos + 8);
1410 1410
1411 m_TextureAnimation = data; 1411 m_TextureAnimation = data;
1412 } 1412 }