diff options
author | Brian McBee | 2007-08-18 16:56:05 +0000 |
---|---|---|
committer | Brian McBee | 2007-08-18 16:56:05 +0000 |
commit | fdd56024227d7cc9977a147b8af5f315f64f6a41 (patch) | |
tree | 0192f856564d757d551d9fc9c44140b1b8fdb8b4 /OpenSim/Region/ScriptEngine | |
parent | lsl test cases, and llregioncorner (thanks Dalien!) (diff) | |
download | opensim-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.cs | 14 |
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() { } |