aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
diff options
context:
space:
mode:
authorroot2011-07-09 01:06:46 +0100
committerroot2011-07-09 01:06:46 +0100
commitc920ff9d1d5840fb6b36efd46e8bec431cc5d15f (patch)
tree4b804cf4255f4a8eaa2789cce97154a418f6e0b5 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
parentRemove another core SNAFU. AbsolutePosition is NOT equal to group position (diff)
parentInstance-types-in-list fix for LSL/OSSL functions. This will fix llListFindLi... (diff)
downloadopensim-SC_OLD-c920ff9d1d5840fb6b36efd46e8bec431cc5d15f.zip
opensim-SC_OLD-c920ff9d1d5840fb6b36efd46e8bec431cc5d15f.tar.gz
opensim-SC_OLD-c920ff9d1d5840fb6b36efd46e8bec431cc5d15f.tar.bz2
opensim-SC_OLD-c920ff9d1d5840fb6b36efd46e8bec431cc5d15f.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 31222ff..6d2efce 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -820,7 +820,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
820 World.ForEachScenePresence(delegate(ScenePresence sp) 820 World.ForEachScenePresence(delegate(ScenePresence sp)
821 { 821 {
822 if (!sp.IsChildAgent) 822 if (!sp.IsChildAgent)
823 result.Add(sp.Name); 823 result.Add(new LSL_String(sp.Name));
824 }); 824 });
825 return result; 825 return result;
826 } 826 }
@@ -2043,8 +2043,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2043 { 2043 {
2044 if (g.Success) 2044 if (g.Success)
2045 { 2045 {
2046 result.Add(g.Value); 2046 result.Add(new LSL_String(g.Value));
2047 result.Add(g.Index); 2047 result.Add(new LSL_Integer(g.Index));
2048 } 2048 }
2049 } 2049 }
2050 } 2050 }
@@ -2378,8 +2378,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2378 { 2378 {
2379 if (avatar.IsChildAgent == false) 2379 if (avatar.IsChildAgent == false)
2380 { 2380 {
2381 result.Add(new LSL_Key(avatar.UUID.ToString())); 2381 result.Add(new LSL_String(avatar.UUID.ToString()));
2382 result.Add(new LSL_Vector(avatar.AbsolutePosition.X, avatar.AbsolutePosition.Y, avatar.AbsolutePosition.Z)); 2382 OpenMetaverse.Vector3 ap = avatar.AbsolutePosition;
2383 result.Add(new LSL_Vector(ap.X, ap.Y, ap.Z));
2383 result.Add(new LSL_String(avatar.Name)); 2384 result.Add(new LSL_String(avatar.Name));
2384 } 2385 }
2385 } 2386 }