it its a default ( internal ) animation return its name in lower case

avinationmerge
UbitUmarov 2014-09-09 23:36:10 +01:00
parent 13cb6ef6ef
commit 724d174a77
1 changed files with 1 additions and 1 deletions

View File

@ -13627,7 +13627,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
foreach (KeyValuePair<string, UUID> kvp in DefaultAvatarAnimations.AnimsUUID) foreach (KeyValuePair<string, UUID> kvp in DefaultAvatarAnimations.AnimsUUID)
{ {
if (kvp.Value == animID) if (kvp.Value == animID)
return MovementAnimationsForLSL[kvp.Key]; return kvp.Key.ToLower();
} }
foreach (TaskInventoryItem item in m_host.Inventory.GetInventoryItems()) foreach (TaskInventoryItem item in m_host.Inventory.GetInventoryItems())