diff options
author | Teravus Ovares | 2008-02-02 16:42:46 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-02 16:42:46 +0000 |
commit | f26cdfd0572bf818e9a266759a814dbdebfad1fa (patch) | |
tree | c28d813d44f96d68a66a16b72fc3060a90bef561 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | In an attempt to solve multihomed UDP problem I seem to have bound UDP socket... (diff) | |
download | opensim-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.cs | 6 |
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 | } |