Guard against null Animator.

viewer-2-initial-appearance
Diva Canto 2011-01-04 11:30:08 -08:00
parent 5286198650
commit db55859125
1 changed files with 2 additions and 1 deletions

View File

@ -2499,7 +2499,8 @@ namespace OpenSim.Region.Framework.Scenes
// m_log.WarnFormat("[SP] Send avatar data from {0} to {1}",m_uuid,avatar.ControllingClient.AgentId);
avatar.ControllingClient.SendAvatarDataImmediate(this);
Animator.SendAnimPackToClient(avatar.ControllingClient);
if (Animation != null)
Animator.SendAnimPackToClient(avatar.ControllingClient);
}
/// <summary>