aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authordan miller2007-10-30 23:38:56 +0000
committerdan miller2007-10-30 23:38:56 +0000
commitf5195a453c265891858fbdcbed02dd768e7cb80f (patch)
tree5c97b620135b9e659d6205ffcb839056ab3851fd /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
parentStep one on the long march towards grid based inventory. Introduction of an I... (diff)
downloadopensim-SC_OLD-f5195a453c265891858fbdcbed02dd768e7cb80f.zip
opensim-SC_OLD-f5195a453c265891858fbdcbed02dd768e7cb80f.tar.gz
opensim-SC_OLD-f5195a453c265891858fbdcbed02dd768e7cb80f.tar.bz2
opensim-SC_OLD-f5195a453c265891858fbdcbed02dd768e7cb80f.tar.xz
Tevarus' patch for object flags & implemented Phantom edits
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index 69bd310..73954d0 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -327,6 +327,22 @@ namespace OpenSim.Region.Environment.Scenes
327 /// <param name="remoteClient"></param> 327 /// <param name="remoteClient"></param>
328 public void UpdatePrimFlags(uint localID, Packet packet, IClientAPI remoteClient) 328 public void UpdatePrimFlags(uint localID, Packet packet, IClientAPI remoteClient)
329 { 329 {
330 bool hasprim = false;
331 foreach (EntityBase ent in Entities.Values)
332 {
333 if (ent is SceneObjectGroup)
334 {
335 hasprim = ((SceneObjectGroup)ent).HasChildPrim(localID);
336 if (hasprim != false)
337 {
338
339 ((SceneObjectGroup)ent).UpdatePrimFlags(localID, (ushort)packet.Type, true, packet.ToBytes());
340
341 }
342 }
343 }
344
345 //System.Console.WriteLine("Got primupdate packet: " + packet.UsePhysics.ToString());
330 } 346 }
331 347
332 /// <summary> 348 /// <summary>