diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index bbf301d..3f719fb 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -2007,7 +2007,16 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2007 | 2007 | ||
2008 | public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) | 2008 | public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) |
2009 | { | 2009 | { |
2010 | NotImplemented("llSetTextureAnim"); | 2010 | Primitive.TextureAnimation pTexAnim = new Primitive.TextureAnimation(); |
2011 | pTexAnim.Flags = (uint)mode; | ||
2012 | pTexAnim.Face = (uint)face; | ||
2013 | pTexAnim.Length = (float)length; | ||
2014 | pTexAnim.Rate = (float)rate; | ||
2015 | pTexAnim.SizeX = (uint)sizex; | ||
2016 | pTexAnim.SizeY = (uint)sizey; | ||
2017 | pTexAnim.Start = (float)start; | ||
2018 | m_host.AddTextureAnimation(pTexAnim); | ||
2019 | m_host.SendFullUpdateToAllClients(); | ||
2011 | } | 2020 | } |
2012 | 2021 | ||
2013 | public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, | 2022 | public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, |