From fc9a1f0f45f872d4e3954bb0511e77905ac0db7e Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 25 Aug 2008 13:53:49 +0000 Subject: [PATCH] Fix osAvatarPlayAnimation to actually do what it says on the box --- .../Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 2e87754cbd..257b17bf35 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -318,7 +318,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if (World.Entities.ContainsKey(avatar) && World.Entities[avatar] is ScenePresence) { ScenePresence target = (ScenePresence)World.Entities[avatar]; - target.AddAnimation(avatar); + target.AddAnimation(animation); } }