diff options
author | Justin Clark-Casey (justincc) | 2012-12-14 23:42:23 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-12-14 23:42:23 +0000 |
commit | 56ec177b3b5b8f5b30d1024cfe6fbf8c59e36c6f (patch) | |
tree | db599463ef539e904d78276d2c8854bd26e011fb /OpenSim/Region/Framework | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-56ec177b3b5b8f5b30d1024cfe6fbf8c59e36c6f.zip opensim-SC_OLD-56ec177b3b5b8f5b30d1024cfe6fbf8c59e36c6f.tar.gz opensim-SC_OLD-56ec177b3b5b8f5b30d1024cfe6fbf8c59e36c6f.tar.bz2 opensim-SC_OLD-56ec177b3b5b8f5b30d1024cfe6fbf8c59e36c6f.tar.xz |
minor: Add commented out log lines to ScenePresenceAnimator for future debug use (such as logging anim pack contents sent to clients)
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs index bb33f07..5b16b67 100644 --- a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs +++ b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs | |||
@@ -26,9 +26,10 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Threading; | ||
30 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Linq; | ||
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using System.Threading; | ||
32 | using log4net; | 33 | using log4net; |
33 | using OpenMetaverse; | 34 | using OpenMetaverse; |
34 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
@@ -113,6 +114,8 @@ namespace OpenSim.Region.Framework.Scenes.Animation | |||
113 | if (m_scenePresence.IsChildAgent) | 114 | if (m_scenePresence.IsChildAgent) |
114 | return; | 115 | return; |
115 | 116 | ||
117 | // m_log.DebugFormat("[SCENE PRESENCE ANIMATOR]: Removing animation {0} for {1}", animID, m_scenePresence.Name); | ||
118 | |||
116 | if (m_animations.Remove(animID)) | 119 | if (m_animations.Remove(animID)) |
117 | SendAnimPack(); | 120 | SendAnimPack(); |
118 | } | 121 | } |
@@ -503,6 +506,12 @@ namespace OpenSim.Region.Framework.Scenes.Animation | |||
503 | if (m_scenePresence.IsChildAgent) | 506 | if (m_scenePresence.IsChildAgent) |
504 | return; | 507 | return; |
505 | 508 | ||
509 | // m_log.DebugFormat( | ||
510 | // "[SCENE PRESENCE ANIMATOR]: Sending anim pack with animations '{0}', sequence '{1}', uuids '{2}'", | ||
511 | // string.Join(",", Array.ConvertAll<UUID, string>(animations, a => a.ToString())), | ||
512 | // string.Join(",", Array.ConvertAll<int, string>(seqs, s => s.ToString())), | ||
513 | // string.Join(",", Array.ConvertAll<UUID, string>(objectIDs, o => o.ToString()))); | ||
514 | |||
506 | m_scenePresence.Scene.ForEachClient( | 515 | m_scenePresence.Scene.ForEachClient( |
507 | delegate(IClientAPI client) | 516 | delegate(IClientAPI client) |
508 | { | 517 | { |