Another try at fixing the Animations problem on region crossing.

ThreadPoolClientBranch
Brian McBee 2008-01-24 02:36:01 +00:00
parent f0811e4800
commit 90b35beee7
1 changed files with 4 additions and 1 deletions

View File

@ -332,7 +332,10 @@ namespace OpenSim.Region.Environment.Scenes
AbsolutePosition = m_controllingClient.StartPos; AbsolutePosition = m_controllingClient.StartPos;
Animations = new AvatarAnimations(); Animations = new AvatarAnimations();
lock (Animations)
{
Animations.LoadAnims(); Animations.LoadAnims();
}
// TODO: m_animations and m_animationSeqs should always be of the same length. // TODO: m_animations and m_animationSeqs should always be of the same length.
// Move them into an object to (hopefully) avoid threading issues. // Move them into an object to (hopefully) avoid threading issues.