Do a cagent.Anims != null check in SP.CopyFrom()
parent
5ba8ca5662
commit
8185ce8b4a
|
@ -3195,6 +3195,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
|
|
||||||
|
// 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);
|
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