diff options
author | Melanie Thielker | 2010-08-07 03:40:01 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-08-07 03:40:01 +0200 |
commit | 7477d7a0369402b6c6c6d41712e578060f8926e8 (patch) | |
tree | 6636d4a2318b552420fbdfcf9a29e31dc3cb62b2 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Make the landmark properties and search places work again (diff) | |
parent | Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff) | |
download | opensim-SC-7477d7a0369402b6c6c6d41712e578060f8926e8.zip opensim-SC-7477d7a0369402b6c6c6d41712e578060f8926e8.tar.gz opensim-SC-7477d7a0369402b6c6c6d41712e578060f8926e8.tar.bz2 opensim-SC-7477d7a0369402b6c6c6d41712e578060f8926e8.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 |
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}", |