diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index e3c1800..ec72207 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -281,22 +281,22 @@ namespace OpenSim.Region.Environment.Scenes | |||
281 | public void SetDebugPacketOnCurrentScene(int newDebug) | 281 | public void SetDebugPacketOnCurrentScene(int newDebug) |
282 | { | 282 | { |
283 | ForEachCurrentScene(delegate(Scene scene) | 283 | ForEachCurrentScene(delegate(Scene scene) |
284 | { | 284 | { |
285 | List<ScenePresence> scenePresences = scene.GetScenePresences(); | 285 | List<ScenePresence> scenePresences = scene.GetScenePresences(); |
286 | 286 | ||
287 | foreach (ScenePresence scenePresence in scenePresences) | 287 | foreach (ScenePresence scenePresence in scenePresences) |
288 | { | 288 | { |
289 | if (!scenePresence.IsChildAgent) | 289 | if (!scenePresence.IsChildAgent) |
290 | { | 290 | { |
291 | m_log.ErrorFormat("Packet debug for {0} {1} set to {2}", | 291 | m_log.ErrorFormat("Packet debug for {0} {1} set to {2}", |
292 | scenePresence.Firstname, | 292 | scenePresence.Firstname, |
293 | scenePresence.Lastname, | 293 | scenePresence.Lastname, |
294 | newDebug); | 294 | newDebug); |
295 | 295 | ||
296 | scenePresence.ControllingClient.SetDebug(newDebug); | 296 | scenePresence.ControllingClient.SetDebug(newDebug); |
297 | } | 297 | } |
298 | } | 298 | } |
299 | }); | 299 | }); |
300 | } | 300 | } |
301 | 301 | ||
302 | public List<ScenePresence> GetCurrentSceneAvatars() | 302 | public List<ScenePresence> GetCurrentSceneAvatars() |