Do a cagent.Anims != null check in SP.CopyFrom()
parent
5ba8ca5662
commit
8185ce8b4a
|
@ -3195,7 +3195,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
|
|
||||||
Animator.Animations.FromArray(cAgent.Anims);
|
// FIXME: Why is this null check necessary? Where are the cases where we get a null Anims object?
|
||||||
|
if (cAgent.Anims != null)
|
||||||
|
Animator.Animations.FromArray(cAgent.Anims);
|
||||||
|
|
||||||
if (cAgent.AttachmentObjects != null && cAgent.AttachmentObjects.Count > 0)
|
if (cAgent.AttachmentObjects != null && cAgent.AttachmentObjects.Count > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue