diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index f652e21..408f100 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2970,7 +2970,19 @@ namespace OpenSim.Region.Environment.Scenes | |||
2970 | 2970 | ||
2971 | public virtual bool IncomingChildAgentDataUpdate(AgentData cAgentData) | 2971 | public virtual bool IncomingChildAgentDataUpdate(AgentData cAgentData) |
2972 | { | 2972 | { |
2973 | //Console.WriteLine(" XXX Scene IncomingChildAgentDataUpdate in " + RegionInfo.RegionName); | 2973 | //Console.WriteLine(" XXX Scene IncomingChildAgentDataUpdate FULL in " + RegionInfo.RegionName); |
2974 | ScenePresence childAgentUpdate = GetScenePresence(cAgentData.AgentID); | ||
2975 | if (childAgentUpdate != null) | ||
2976 | { | ||
2977 | childAgentUpdate.ChildAgentDataUpdate(cAgentData); | ||
2978 | return true; | ||
2979 | } | ||
2980 | return false; | ||
2981 | } | ||
2982 | |||
2983 | public virtual bool IncomingChildAgentDataUpdate(AgentPosition cAgentData) | ||
2984 | { | ||
2985 | //Console.WriteLine(" XXX Scene IncomingChildAgentDataUpdate POSITION in " + RegionInfo.RegionName); | ||
2974 | ScenePresence childAgentUpdate = GetScenePresence(cAgentData.AgentID); | 2986 | ScenePresence childAgentUpdate = GetScenePresence(cAgentData.AgentID); |
2975 | if (childAgentUpdate != null) | 2987 | if (childAgentUpdate != null) |
2976 | { | 2988 | { |
@@ -3174,7 +3186,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
3174 | return m_sceneGridService.CrossToNeighbouringRegion(regionHandle, agentID, position, isFlying); | 3186 | return m_sceneGridService.CrossToNeighbouringRegion(regionHandle, agentID, position, isFlying); |
3175 | } | 3187 | } |
3176 | 3188 | ||
3177 | public void SendOutChildAgentUpdates(AgentData cadu, ScenePresence presence) | 3189 | public void SendOutChildAgentUpdates(AgentPosition cadu, ScenePresence presence) |
3178 | { | 3190 | { |
3179 | m_sceneGridService.SendChildAgentDataUpdate(cadu, presence); | 3191 | m_sceneGridService.SendChildAgentDataUpdate(cadu, presence); |
3180 | } | 3192 | } |