diff options
author | Diva Canto | 2013-03-07 06:41:03 -0800 |
---|---|---|
committer | Diva Canto | 2013-03-07 06:41:03 -0800 |
commit | fdebee25db35174468e19d0f6ed8931797c1f000 (patch) | |
tree | 3d38c72fb40e2bf7a457343c1ad724b5c46e9dfd /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Fixed inconsistency in comments. Thanks Ai Austin. (diff) | |
parent | minor: remove some completely unused string local vars added recently in comm... (diff) | |
download | opensim-SC-fdebee25db35174468e19d0f6ed8931797c1f000.zip opensim-SC-fdebee25db35174468e19d0f6ed8931797c1f000.tar.gz opensim-SC-fdebee25db35174468e19d0f6ed8931797c1f000.tar.bz2 opensim-SC-fdebee25db35174468e19d0f6ed8931797c1f000.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index ab087af..dd7ee24 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -10920,7 +10920,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
10920 | 10920 | ||
10921 | LSL_List result = new LSL_List(); | 10921 | LSL_List result = new LSL_List(); |
10922 | 10922 | ||
10923 | if (obj != null && obj.OwnerID != m_host.OwnerID) | 10923 | if (obj != null && obj.OwnerID == m_host.OwnerID) |
10924 | { | 10924 | { |
10925 | LSL_List remaining = GetPrimParams(obj, rules, ref result); | 10925 | LSL_List remaining = GetPrimParams(obj, rules, ref result); |
10926 | 10926 | ||
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs index d0922aa..21bae27 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/MOD_Api.cs | |||
@@ -266,6 +266,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
266 | { | 266 | { |
267 | llist[i] = new LSL_Float((float)result[i]); | 267 | llist[i] = new LSL_Float((float)result[i]); |
268 | } | 268 | } |
269 | else if (result[i] is double) | ||
270 | { | ||
271 | llist[i] = new LSL_Float((double)result[i]); | ||
272 | } | ||
269 | else if (result[i] is UUID) | 273 | else if (result[i] is UUID) |
270 | { | 274 | { |
271 | llist[i] = new LSL_Key(result[i].ToString()); | 275 | llist[i] = new LSL_Key(result[i].ToString()); |