aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2015-11-20 01:44:19 +0000
committerUbitUmarov2015-11-20 01:44:19 +0000
commitca5ec4c33b00ce5f046c6f162c14fbe740bc0064 (patch)
treebe5a64902160703a063799de1996b0f2a1a89431
parentchange a log message from error to just Debug (diff)
downloadopensim-SC-ca5ec4c33b00ce5f046c6f162c14fbe740bc0064.zip
opensim-SC-ca5ec4c33b00ce5f046c6f162c14fbe740bc0064.tar.gz
opensim-SC-ca5ec4c33b00ce5f046c6f162c14fbe740bc0064.tar.bz2
opensim-SC-ca5ec4c33b00ce5f046c6f162c14fbe740bc0064.tar.xz
make llAvatarOnLinkSitTarget(0) return UUID.Zero
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index e2b3ef4..61397cd 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7740,11 +7740,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7740 { 7740 {
7741 m_host.AddScriptLPS(1); 7741 m_host.AddScriptLPS(1);
7742 if(linknum == ScriptBaseClass.LINK_SET || 7742 if(linknum == ScriptBaseClass.LINK_SET ||
7743 linknum == ScriptBaseClass.LINK_ALL_CHILDREN || 7743 linknum == ScriptBaseClass.LINK_ALL_CHILDREN ||
7744 linknum == ScriptBaseClass.LINK_ALL_OTHERS) return UUID.Zero.ToString(); 7744 linknum == ScriptBaseClass.LINK_ALL_OTHERS ||
7745 linknum == 0)
7746 return UUID.Zero.ToString();
7745 7747
7746 List<SceneObjectPart> parts = GetLinkParts(linknum); 7748 List<SceneObjectPart> parts = GetLinkParts(linknum);
7747 if (parts.Count == 0) return UUID.Zero.ToString(); 7749 if (parts.Count == 0)
7750 return UUID.Zero.ToString();
7748 return parts[0].SitTargetAvatar.ToString(); 7751 return parts[0].SitTargetAvatar.ToString();
7749 } 7752 }
7750 7753