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
user_profiles
Justin Clark-Casey (justincc) 2013-03-06 00:22:58 +00:00
parent b272b91317
commit a9f380d124
1 changed files with 1 additions and 1 deletions

View File

@ -10920,7 +10920,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
LSL_List result = new LSL_List(); LSL_List result = new LSL_List();
if (obj != null && obj.OwnerID != m_host.OwnerID) if (obj != null && obj.OwnerID == m_host.OwnerID)
{ {
LSL_List remaining = GetPrimParams(obj, rules, ref result); LSL_List remaining = GetPrimParams(obj, rules, ref result);