diff options
author | Justin Clark-Casey (justincc) | 2013-03-06 00:22:58 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-03-06 00:22:58 +0000 |
commit | a9f380d1241b765d5bf278b5dcf6ab91f0015e85 (patch) | |
tree | 11170479971b358d3db293336b624aa5a7189f42 /OpenSim | |
parent | minor: Fix mono compiler warning in MonitorModule (diff) | |
download | opensim-SC-a9f380d1241b765d5bf278b5dcf6ab91f0015e85.zip opensim-SC-a9f380d1241b765d5bf278b5dcf6ab91f0015e85.tar.gz opensim-SC-a9f380d1241b765d5bf278b5dcf6ab91f0015e85.tar.bz2 opensim-SC-a9f380d1241b765d5bf278b5dcf6ab91f0015e85.tar.xz |
Fix bug in osGetPrimitiveParams() so that it works for prims with the same owner as the script and not ones with different owners.
Addresses http://opensimulator.org/mantis/view.php?id=6560
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 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 | ||