diff options
author | lbsa71 | 2007-09-21 03:13:49 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-21 03:13:49 +0000 |
commit | 409bcd999d19c52133f7099963febdf96d865467 (patch) | |
tree | a4853c05b6af3b17a2ee1392aca9e08ed38ac427 /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |
parent | physics-related fixes; should stabilize border crossings (diff) | |
download | opensim-SC-409bcd999d19c52133f7099963febdf96d865467.zip opensim-SC-409bcd999d19c52133f7099963febdf96d865467.tar.gz opensim-SC-409bcd999d19c52133f7099963febdf96d865467.tar.bz2 opensim-SC-409bcd999d19c52133f7099963febdf96d865467.tar.xz |
* Continuing refactoring of presence
* Deleted stub ScenePresence.Body.cs
* Added stub Region classes
The idea is to, at first, have every ScenePresence have one RegionPresence, moving code over to it until we can detach the two classes and not have a ScenePresence for every RegionPresence.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 53da016..91b9634 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -77,7 +77,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
77 | ScenePresence fromAvatar = m_scenePresences[fromAgentID]; | 77 | ScenePresence fromAvatar = m_scenePresences[fromAgentID]; |
78 | ScenePresence toAvatar = m_scenePresences[toAgentID]; | 78 | ScenePresence toAvatar = m_scenePresences[toAgentID]; |
79 | string fromName = fromAvatar.Firstname + " " + fromAvatar.Lastname; | 79 | string fromName = fromAvatar.Firstname + " " + fromAvatar.Lastname; |
80 | toAvatar._ControllingClient.SendInstantMessage(fromAgentID, fromAgentSession, message, toAgentID, | 80 | toAvatar.ControllingClient.SendInstantMessage(fromAgentID, fromAgentSession, message, toAgentID, |
81 | imSessionID, fromName, dialog, timestamp); | 81 | imSessionID, fromName, dialog, timestamp); |
82 | } | 82 | } |
83 | else | 83 | else |
@@ -508,7 +508,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
508 | { | 508 | { |
509 | ForEachScenePresence(delegate(ScenePresence presence) | 509 | ForEachScenePresence(delegate(ScenePresence presence) |
510 | { | 510 | { |
511 | presence._ControllingClient.SendAnimation(animID, seq, client.AgentId); | 511 | presence.ControllingClient.SendAnimation(animID, seq, client.AgentId); |
512 | }); | 512 | }); |
513 | } | 513 | } |
514 | 514 | ||