aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index c517978..7156137 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3195,7 +3195,9 @@ namespace OpenSim.Region.Framework.Scenes
3195 } 3195 }
3196 catch { } 3196 catch { }
3197 3197
3198 Animator.Animations.FromArray(cAgent.Anims); 3198 // FIXME: Why is this null check necessary? Where are the cases where we get a null Anims object?
3199 if (cAgent.Anims != null)
3200 Animator.Animations.FromArray(cAgent.Anims);
3199 3201
3200 if (cAgent.AttachmentObjects != null && cAgent.AttachmentObjects.Count > 0) 3202 if (cAgent.AttachmentObjects != null && cAgent.AttachmentObjects.Count > 0)
3201 { 3203 {