aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneManager.cs23
1 files changed, 0 insertions, 23 deletions
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
477 return false; 477 return false;
478 } 478 }
479 479
480 /// <summary>
481 /// Set the debug packet level on each current scene. This level governs which packets are printed out to the
482 /// console.
483 /// </summary>
484 /// <param name="newDebug"></param>
485 /// <param name="name">Name of avatar to debug</param>
486 public void SetDebugPacketLevelOnCurrentScene(int newDebug, string name)
487 {
488 ForEachSelectedScene(scene =>
489 scene.ForEachScenePresence(sp =>
490 {
491 if (name == null || sp.Name == name)
492 {
493 m_log.DebugFormat(
494 "Packet debug for {0} ({1}) set to {2}",
495 sp.Name, sp.IsChildAgent ? "child" : "root", newDebug);
496
497 sp.ControllingClient.DebugPacketLevel = newDebug;
498 }
499 })
500 );
501 }
502
503 public List<ScenePresence> GetCurrentSceneAvatars() 480 public List<ScenePresence> GetCurrentSceneAvatars()
504 { 481 {
505 List<ScenePresence> avatars = new List<ScenePresence>(); 482 List<ScenePresence> avatars = new List<ScenePresence>();