aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs14
1 files changed, 3 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
index f8996d0..4d491d1 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
@@ -166,7 +166,7 @@ namespace OpenSim.Region.Framework.Scenes
166 /// <param name="remoteClient"></param> 166 /// <param name="remoteClient"></param>
167 public void SelectPrim(List<uint> primIDs, IClientAPI remoteClient) 167 public void SelectPrim(List<uint> primIDs, IClientAPI remoteClient)
168 { 168 {
169 List<SceneObjectPart> needUpdates = new List<SceneObjectPart>(); 169 List<ISceneEntity> needUpdates = new List<ISceneEntity>();
170 170
171 foreach(uint primLocalID in primIDs) 171 foreach(uint primLocalID in primIDs)
172 { 172 {
@@ -179,7 +179,7 @@ namespace OpenSim.Region.Framework.Scenes
179 if (sog == null) 179 if (sog == null)
180 continue; 180 continue;
181 181
182 needUpdates.Add(part); 182 needUpdates.Add((ISceneEntity)part);
183 183
184 // waste of time because properties do not send prim flags as they should 184 // waste of time because properties do not send prim flags as they should
185 // if a friend got or lost edit rights after login, a full update is needed 185 // if a friend got or lost edit rights after login, a full update is needed
@@ -196,15 +196,7 @@ namespace OpenSim.Region.Framework.Scenes
196 } 196 }
197 197
198 if(needUpdates.Count > 0) 198 if(needUpdates.Count > 0)
199 { 199 remoteClient.SendSelectedPartsProprieties(needUpdates);
200 // this will be replaced by single client function
201 // that will send the UDP and Caps part
202 foreach(SceneObjectPart part in needUpdates)
203 {
204 part.SendPropertiesToClient(remoteClient);
205 remoteClient.SendPartPhysicsProprieties(part);
206 }
207 }
208 } 200 }
209 201
210 /// <summary> 202 /// <summary>