From d2b1a8aa1ee9396f8f73ce8a54e554a2fe730438 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 25 Mar 2008 01:45:23 +0000 Subject: Minor formatting / svn properties cleanup. --- OpenSim/Region/ClientStack/ClientView.cs | 3 +-- OpenSim/Region/Environment/Scenes/SceneManager.cs | 32 +++++++++++------------ 2 files changed, 17 insertions(+), 18 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 3f971a8..971c295 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -2689,7 +2689,6 @@ namespace OpenSim.Region.ClientStack { AddAck(Pack); // this adds the need to ack this packet later - if (Pack.Type != PacketType.PacketAck && Pack.Type != PacketType.LogoutRequest) { SetPendingAcks(ref Pack); @@ -2727,7 +2726,7 @@ namespace OpenSim.Region.ClientStack public virtual void InPacket(Packet NewPack) { - if(!m_packetProcessingEnabled && NewPack.Type != PacketType.LogoutRequest) + if (!m_packetProcessingEnabled && NewPack.Type != PacketType.LogoutRequest) { PacketPool.Instance.ReturnPacket(NewPack); return; diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index e3c1800..ec72207 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs @@ -281,22 +281,22 @@ namespace OpenSim.Region.Environment.Scenes public void SetDebugPacketOnCurrentScene(int newDebug) { ForEachCurrentScene(delegate(Scene scene) - { - List scenePresences = scene.GetScenePresences(); - - foreach (ScenePresence scenePresence in scenePresences) - { - if (!scenePresence.IsChildAgent) - { - m_log.ErrorFormat("Packet debug for {0} {1} set to {2}", - scenePresence.Firstname, - scenePresence.Lastname, - newDebug); - - scenePresence.ControllingClient.SetDebug(newDebug); - } - } - }); + { + List scenePresences = scene.GetScenePresences(); + + foreach (ScenePresence scenePresence in scenePresences) + { + if (!scenePresence.IsChildAgent) + { + m_log.ErrorFormat("Packet debug for {0} {1} set to {2}", + scenePresence.Firstname, + scenePresence.Lastname, + newDebug); + + scenePresence.ControllingClient.SetDebug(newDebug); + } + } + }); } public List GetCurrentSceneAvatars() -- cgit v1.1