mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
avoid a null ref ( this should not be needed)
This commit is contained in:
@@ -5072,7 +5072,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
catch { }
|
||||
|
||||
Animator.ResetAnimations();
|
||||
// we are losing animator somewhere
|
||||
if (Animator == null)
|
||||
Animator = new ScenePresenceAnimator(this);
|
||||
else
|
||||
Animator.ResetAnimations();
|
||||
|
||||
Overrides.CopyAOPairsFrom(cAgent.MovementAnimationOverRides);
|
||||
int nanim = ControllingClient.NextAnimationSequenceNumber;
|
||||
|
||||
Reference in New Issue
Block a user