From 25889b2d7ef08b27591aa61ab4950bdbc856d7a5 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 4 Jul 2013 00:02:53 +0100
Subject: change "debug packet" command to "debug lludp packet" to conform with
other "debug lludp" options
also moves the implementing code into LLUDPServer.cs along with other debug commands from OpenSim.cs
gets all debug lludp commands to only activate for the set scene if not root
---
OpenSim/Region/Framework/Scenes/SceneManager.cs | 23 -----------------------
1 file changed, 23 deletions(-)
(limited to 'OpenSim/Region/Framework')
diff --git a/OpenSim/Region/Framework/Scenes/SceneManager.cs b/OpenSim/Region/Framework/Scenes/SceneManager.cs
index 780bd01..28f7896 100644
--- a/OpenSim/Region/Framework/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneManager.cs
@@ -477,29 +477,6 @@ namespace OpenSim.Region.Framework.Scenes
return false;
}
- ///
- /// Set the debug packet level on each current scene. This level governs which packets are printed out to the
- /// console.
- ///
- ///
- /// Name of avatar to debug
- public void SetDebugPacketLevelOnCurrentScene(int newDebug, string name)
- {
- ForEachSelectedScene(scene =>
- scene.ForEachScenePresence(sp =>
- {
- if (name == null || sp.Name == name)
- {
- m_log.DebugFormat(
- "Packet debug for {0} ({1}) set to {2}",
- sp.Name, sp.IsChildAgent ? "child" : "root", newDebug);
-
- sp.ControllingClient.DebugPacketLevel = newDebug;
- }
- })
- );
- }
-
public List GetCurrentSceneAvatars()
{
List avatars = new List();
--
cgit v1.1