From 58f8c042f616c2568496aeb13428230deb854db0 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Tue, 14 Oct 2008 18:53:56 +0000
Subject: * minor: change m_debug to m_debugPacketLevel since that's what it is
---
OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | 2 +-
OpenSim/Region/Environment/Scenes/SceneManager.cs | 9 +++++++--
2 files changed, 8 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Region/Environment')
diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
index 35a6c2f..0143f2c 100644
--- a/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
+++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs
@@ -758,7 +758,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
{
}
- public void SetDebug(int newDebug)
+ public void SetDebugPacketLevel(int newDebug)
{
}
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index 472f446..2af31d6 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -394,7 +394,12 @@ namespace OpenSim.Region.Environment.Scenes
return false;
}
- public void SetDebugPacketOnCurrentScene(int newDebug)
+ ///
+ /// Set the debug packet level on the current scene. This level governs which packets are printed out to the
+ /// console.
+ ///
+ ///
+ public void SetDebugPacketLevelOnCurrentScene(int newDebug)
{
ForEachCurrentScene(delegate(Scene scene)
{
@@ -409,7 +414,7 @@ namespace OpenSim.Region.Environment.Scenes
scenePresence.Lastname,
newDebug);
- scenePresence.ControllingClient.SetDebug(newDebug);
+ scenePresence.ControllingClient.SetDebugPacketLevel(newDebug);
}
}
});
--
cgit v1.1