aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index f37b38b..06b4035 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -332,7 +332,10 @@ namespace OpenSim.Region.Environment.Scenes
332 AbsolutePosition = m_controllingClient.StartPos; 332 AbsolutePosition = m_controllingClient.StartPos;
333 333
334 Animations = new AvatarAnimations(); 334 Animations = new AvatarAnimations();
335 Animations.LoadAnims(); 335 lock (Animations)
336 {
337 Animations.LoadAnims();
338 }
336 339
337 // TODO: m_animations and m_animationSeqs should always be of the same length. 340 // TODO: m_animations and m_animationSeqs should always be of the same length.
338 // Move them into an object to (hopefully) avoid threading issues. 341 // Move them into an object to (hopefully) avoid threading issues.