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