diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/NPC/NPCAvatar.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 9 |
2 files changed, 8 insertions, 3 deletions
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 | |||
758 | { | 758 | { |
759 | } | 759 | } |
760 | 760 | ||
761 | public void SetDebug(int newDebug) | 761 | public void SetDebugPacketLevel(int newDebug) |
762 | { | 762 | { |
763 | } | 763 | } |
764 | 764 | ||
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 | |||
394 | return false; | 394 | return false; |
395 | } | 395 | } |
396 | 396 | ||
397 | public void SetDebugPacketOnCurrentScene(int newDebug) | 397 | /// <summary> |
398 | /// Set the debug packet level on the current scene. This level governs which packets are printed out to the | ||
399 | /// console. | ||
400 | /// </summary> | ||
401 | /// <param name="newDebug"></param> | ||
402 | public void SetDebugPacketLevelOnCurrentScene(int newDebug) | ||
398 | { | 403 | { |
399 | ForEachCurrentScene(delegate(Scene scene) | 404 | ForEachCurrentScene(delegate(Scene scene) |
400 | { | 405 | { |
@@ -409,7 +414,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
409 | scenePresence.Lastname, | 414 | scenePresence.Lastname, |
410 | newDebug); | 415 | newDebug); |
411 | 416 | ||
412 | scenePresence.ControllingClient.SetDebug(newDebug); | 417 | scenePresence.ControllingClient.SetDebugPacketLevel(newDebug); |
413 | } | 418 | } |
414 | } | 419 | } |
415 | }); | 420 | }); |