aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPixelTomsen2012-02-21 20:57:51 +0100
committerJustin Clark-Casey (justincc)2012-02-21 23:15:33 +0000
commit1c533eb5200d5a2443731abba55b6cd34eb067f7 (patch)
treec235653c9e950fb038e52534bdd9b8d5a2affe30
parentFix problem with dragging child part inventory item to user inventory. (diff)
downloadopensim-SC-1c533eb5200d5a2443731abba55b6cd34eb067f7.zip
opensim-SC-1c533eb5200d5a2443731abba55b6cd34eb067f7.tar.gz
opensim-SC-1c533eb5200d5a2443731abba55b6cd34eb067f7.tar.bz2
opensim-SC-1c533eb5200d5a2443731abba55b6cd34eb067f7.tar.xz
Fix:LINK_ROOT flag for llGetLinkName() by SinglePrim
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
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 0bdd84a..61a6907 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3845,7 +3845,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3845 // Single prim 3845 // Single prim
3846 if (m_host.LinkNum == 0) 3846 if (m_host.LinkNum == 0)
3847 { 3847 {
3848 if (linknum == 0) 3848 if (linknum == 0 || linknum == ScriptBaseClass.LINK_ROOT)
3849 return m_host.Name; 3849 return m_host.Name;
3850 else 3850 else
3851 return UUID.Zero.ToString(); 3851 return UUID.Zero.ToString();