aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-15 21:18:08 +0000
committerMelanie Thielker2008-08-15 21:18:08 +0000
commitc1fa7592c751005cde427fc0f4bf7b683d0eefe5 (patch)
treed4a9cbc892f5646d0afc2ce8aefccfe007e3cd4f /OpenSim/Region/ScriptEngine/Common
parentPlumb the user flags all the way through to the profile. userFlags in (diff)
downloadopensim-SC_OLD-c1fa7592c751005cde427fc0f4bf7b683d0eefe5.zip
opensim-SC_OLD-c1fa7592c751005cde427fc0f4bf7b683d0eefe5.tar.gz
opensim-SC_OLD-c1fa7592c751005cde427fc0f4bf7b683d0eefe5.tar.bz2
opensim-SC_OLD-c1fa7592c751005cde427fc0f4bf7b683d0eefe5.tar.xz
Pantis #1957
Thank you, Leaf, for a patch that implements llGetAnimationList() XEngine implementation added by myself.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index f6cc7f0..32e9085 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -5698,11 +5698,19 @@ namespace OpenSim.Region.ScriptEngine.Common
5698 return (double)Math.Log(val); 5698 return (double)Math.Log(val);
5699 } 5699 }
5700 5700
5701 public LSL_Types.list llGetAnimationList(string id) 5701 public LSL_Types.list llGetAnimationList( string id )
5702 { 5702 {
5703 m_host.AddScriptLPS(1); 5703 m_host.AddScriptLPS(1);
5704 NotImplemented("llGetAnimationList"); 5704
5705 return new LSL_Types.list(); 5705 LSL_Types.list l = new LSL_Types.list();
5706 ScenePresence av = World.GetScenePresence(id);
5707 if( av == null )
5708 return l;
5709 LLUUID[] anims;
5710 anims = av.GetAnimationArray();
5711 foreach( LLUUID foo in anims )
5712 l.Add( foo.ToString() );
5713 return l;
5706 } 5714 }
5707 5715
5708 public void llSetParcelMusicURL(string url) 5716 public void llSetParcelMusicURL(string url)