Add some case magic and send an anim pack when an override is set
parent
46abe0c86d
commit
2d2823f1de
|
@ -6035,6 +6035,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
public void SetAnimationOverride(string animState, UUID animID)
|
||||
{
|
||||
Overrides.SetOverride(animState, animID);
|
||||
Animator.SendAnimPack();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13494,7 +13494,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
|
||||
foreach (KeyValuePair<string, string> kvp in MovementAnimationsForLSL)
|
||||
{
|
||||
if (kvp.Value == animState)
|
||||
if (kvp.Value.ToLower() == ((string)animState).ToLower())
|
||||
{
|
||||
state = kvp.Key;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue