aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-08-16 21:21:38 +1000
committerAdam Frisby2009-08-16 21:21:38 +1000
commitaea4d7c63b64ee06e51725acb6d1e48c971b26d8 (patch)
treef2be39d773040ea117f194f2a341e1df0adc2c60 /OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
parent* [MRM] Implements permission checks on IObject implementations in SOPObject.... (diff)
parentAdd copyright headers. Formatting cleanup. (diff)
downloadopensim-SC_OLD-aea4d7c63b64ee06e51725acb6d1e48c971b26d8.zip
opensim-SC_OLD-aea4d7c63b64ee06e51725acb6d1e48c971b26d8.tar.gz
opensim-SC_OLD-aea4d7c63b64ee06e51725acb6d1e48c971b26d8.tar.bz2
opensim-SC_OLD-aea4d7c63b64ee06e51725acb6d1e48c971b26d8.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
index 113918d..1a7f8f8 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
@@ -109,6 +109,29 @@ namespace OpenSim.Region.Framework.Scenes
109 } 109 }
110 110
111 /// <summary> 111 /// <summary>
112 /// Invoked when the client requests a prim.
113 /// </summary>
114 /// <param name="primLocalID"></param>
115 /// <param name="remoteClient"></param>
116 public void RequestPrim(uint primLocalID, IClientAPI remoteClient)
117 {
118 PacketType i = PacketType.ObjectUpdate;
119 List<EntityBase> EntityList = GetEntities();
120
121 foreach (EntityBase ent in EntityList)
122 {
123 if (ent is SceneObjectGroup)
124 {
125 if (((SceneObjectGroup)ent).LocalId == primLocalID)
126 {
127 ((SceneObjectGroup)ent).SendFullUpdateToClient(remoteClient);
128 return;
129 }
130 }
131 }
132 }
133
134 /// <summary>
112 /// Invoked when the client selects a prim. 135 /// Invoked when the client selects a prim.
113 /// </summary> 136 /// </summary>
114 /// <param name="primLocalID"></param> 137 /// <param name="primLocalID"></param>