aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorBrian McBee2007-08-18 16:56:05 +0000
committerBrian McBee2007-08-18 16:56:05 +0000
commitfdd56024227d7cc9977a147b8af5f315f64f6a41 (patch)
tree0192f856564d757d551d9fc9c44140b1b8fdb8b4 /OpenSim/Region/ScriptEngine
parentlsl test cases, and llregioncorner (thanks Dalien!) (diff)
downloadopensim-SC-fdd56024227d7cc9977a147b8af5f315f64f6a41.zip
opensim-SC-fdd56024227d7cc9977a147b8af5f315f64f6a41.tar.gz
opensim-SC-fdd56024227d7cc9977a147b8af5f315f64f6a41.tar.bz2
opensim-SC-fdd56024227d7cc9977a147b8af5f315f64f6a41.tar.xz
llstrenglength (thanks ldvoipeng!)
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
index 2417017..6c43b06 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
@@ -207,7 +207,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
207 public void llMinEventDelay(double delay) { } 207 public void llMinEventDelay(double delay) { }
208 public void llSoundPreload() { } 208 public void llSoundPreload() { }
209 public void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping) { } 209 public void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping) { }
210 public int llStringLength(string str) { return 0; } 210
211 public int llStringLength(string str)
212 {
213 if(str.Length > 0)
214 {
215 return str.Length;
216 }
217 else
218 {
219 return 0;
220 }
221 }
222
211 public void llStartAnimation(string anim) { } 223 public void llStartAnimation(string anim) { }
212 public void llStopAnimation(string anim) { } 224 public void llStopAnimation(string anim) { }
213 public void llPointAt() { } 225 public void llPointAt() { }