diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 9 |
1 files changed, 7 insertions, 2 deletions
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 | }); |