aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorTom2010-08-06 11:44:57 -0700
committerTom2010-08-06 11:44:57 -0700
commitf9f776e4071dd983b8d9f52ecb75bc361a2b62ce (patch)
treec202070adf22e071541732c35c90347839a3af36 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentImplement CreateNewOutfitAttachments. This addresses mantis #199. (diff)
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-f9f776e4071dd983b8d9f52ecb75bc361a2b62ce.zip
opensim-SC-f9f776e4071dd983b8d9f52ecb75bc361a2b62ce.tar.gz
opensim-SC-f9f776e4071dd983b8d9f52ecb75bc361a2b62ce.tar.bz2
opensim-SC-f9f776e4071dd983b8d9f52ecb75bc361a2b62ce.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 44c3d12..b3fa2f4 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1059,7 +1059,12 @@ namespace OpenSim.Region.Framework.Scenes
1059 /// </summary> 1059 /// </summary>
1060 public void MakeChildAgent() 1060 public void MakeChildAgent()
1061 { 1061 {
1062 Animator.ResetAnimations(); 1062 // It looks like m_animator is set to null somewhere, and MakeChild
1063 // is called after that. Probably in aborted teleports.
1064 if (m_animator == null)
1065 m_animator = new ScenePresenceAnimator(this);
1066 else
1067 Animator.ResetAnimations();
1063 1068
1064// m_log.DebugFormat( 1069// m_log.DebugFormat(
1065// "[SCENEPRESENCE]: Downgrading root agent {0}, {1} to a child agent in {2}", 1070// "[SCENEPRESENCE]: Downgrading root agent {0}, {1} to a child agent in {2}",