avoid a null ref ( this should not be needed)
parent
4161182be0
commit
24a977323b
|
@ -5072,6 +5072,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
|
|
||||||
|
// we are losing animator somewhere
|
||||||
|
if (Animator == null)
|
||||||
|
Animator = new ScenePresenceAnimator(this);
|
||||||
|
else
|
||||||
Animator.ResetAnimations();
|
Animator.ResetAnimations();
|
||||||
|
|
||||||
Overrides.CopyAOPairsFrom(cAgent.MovementAnimationOverRides);
|
Overrides.CopyAOPairsFrom(cAgent.MovementAnimationOverRides);
|
||||||
|
|
Loading…
Reference in New Issue