diff options
author | lbsa71 | 2007-11-01 19:19:05 +0000 |
---|---|---|
committer | lbsa71 | 2007-11-01 19:19:05 +0000 |
commit | 4fad66f855544b9298ae2216c58c0f44009358a5 (patch) | |
tree | 07747305928e0072230b31c399d8a7e76442b77f /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |
parent | Partialy fixed a bug with collisions in BulletXPlugin. (diff) | |
download | opensim-SC_OLD-4fad66f855544b9298ae2216c58c0f44009358a5.zip opensim-SC_OLD-4fad66f855544b9298ae2216c58c0f44009358a5.tar.gz opensim-SC_OLD-4fad66f855544b9298ae2216c58c0f44009358a5.tar.bz2 opensim-SC_OLD-4fad66f855544b9298ae2216c58c0f44009358a5.tar.xz |
* Diuerse beavtificatems
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 73954d0..73d317a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -332,16 +332,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
332 | { | 332 | { |
333 | if (ent is SceneObjectGroup) | 333 | if (ent is SceneObjectGroup) |
334 | { | 334 | { |
335 | hasprim = ((SceneObjectGroup)ent).HasChildPrim(localID); | 335 | hasprim = ((SceneObjectGroup) ent).HasChildPrim(localID); |
336 | if (hasprim != false) | 336 | if (hasprim != false) |
337 | { | 337 | { |
338 | 338 | ((SceneObjectGroup) ent).UpdatePrimFlags(localID, (ushort) packet.Type, true, packet.ToBytes()); | |
339 | ((SceneObjectGroup)ent).UpdatePrimFlags(localID, (ushort)packet.Type, true, packet.ToBytes()); | ||
340 | |||
341 | } | 339 | } |
342 | } | 340 | } |
343 | } | 341 | } |
344 | 342 | ||
345 | //System.Console.WriteLine("Got primupdate packet: " + packet.UsePhysics.ToString()); | 343 | //System.Console.WriteLine("Got primupdate packet: " + packet.UsePhysics.ToString()); |
346 | } | 344 | } |
347 | 345 | ||