diff options
author | Adam Frisby | 2008-04-23 11:52:25 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-23 11:52:25 +0000 |
commit | bca7ab7e363e9c9874a9ab137b60a042b9d1139c (patch) | |
tree | 52150bf5c1514fdad8ff086c84af8e6ae67cbb17 /OpenSim/Region/ClientStack/ClientView.cs | |
parent | * Fix mantis #842 - folders which are created but left named "New Folder" in ... (diff) | |
download | opensim-SC_OLD-bca7ab7e363e9c9874a9ab137b60a042b9d1139c.zip opensim-SC_OLD-bca7ab7e363e9c9874a9ab137b60a042b9d1139c.tar.gz opensim-SC_OLD-bca7ab7e363e9c9874a9ab137b60a042b9d1139c.tar.bz2 opensim-SC_OLD-bca7ab7e363e9c9874a9ab137b60a042b9d1139c.tar.xz |
* Applying Mantis #1020 (Animations) - Thanks Melanie.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 7ff1f23..a58f88f 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -91,6 +91,8 @@ namespace OpenSim.Region.ClientStack | |||
91 | private readonly uint m_circuitCode; | 91 | private readonly uint m_circuitCode; |
92 | private int m_moneyBalance; | 92 | private int m_moneyBalance; |
93 | 93 | ||
94 | private int m_animationSequenceNumber = 1; | ||
95 | |||
94 | private byte[] m_channelVersion = Helpers.StringToField("OpenSimulator 0.5"); // Dummy value needed by libSL | 96 | private byte[] m_channelVersion = Helpers.StringToField("OpenSimulator 0.5"); // Dummy value needed by libSL |
95 | 97 | ||
96 | /* protected variables */ | 98 | /* protected variables */ |
@@ -302,6 +304,11 @@ namespace OpenSim.Region.ClientStack | |||
302 | get { return m_moneyBalance; } | 304 | get { return m_moneyBalance; } |
303 | } | 305 | } |
304 | 306 | ||
307 | public int NextAnimationSequenceNumber | ||
308 | { | ||
309 | get { return m_animationSequenceNumber++; } | ||
310 | } | ||
311 | |||
305 | /* METHODS */ | 312 | /* METHODS */ |
306 | 313 | ||
307 | public ClientView(EndPoint remoteEP, IScene scene, AssetCache assetCache, PacketServer packServer, | 314 | public ClientView(EndPoint remoteEP, IScene scene, AssetCache assetCache, PacketServer packServer, |
@@ -3429,7 +3436,7 @@ namespace OpenSim.Region.ClientStack | |||
3429 | handlerStartAnim = OnStartAnim; | 3436 | handlerStartAnim = OnStartAnim; |
3430 | if (handlerStartAnim != null) | 3437 | if (handlerStartAnim != null) |
3431 | { | 3438 | { |
3432 | handlerStartAnim(this, AgentAni.AnimationList[i].AnimID, 1); | 3439 | handlerStartAnim(this, AgentAni.AnimationList[i].AnimID); |
3433 | } | 3440 | } |
3434 | } | 3441 | } |
3435 | else | 3442 | else |