diff options
author | PixelTomsen | 2012-02-21 20:57:51 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-21 23:15:33 +0000 |
commit | 1c533eb5200d5a2443731abba55b6cd34eb067f7 (patch) | |
tree | c235653c9e950fb038e52534bdd9b8d5a2affe30 /OpenSim/Region | |
parent | Fix problem with dragging child part inventory item to user inventory. (diff) | |
download | opensim-SC_OLD-1c533eb5200d5a2443731abba55b6cd34eb067f7.zip opensim-SC_OLD-1c533eb5200d5a2443731abba55b6cd34eb067f7.tar.gz opensim-SC_OLD-1c533eb5200d5a2443731abba55b6cd34eb067f7.tar.bz2 opensim-SC_OLD-1c533eb5200d5a2443731abba55b6cd34eb067f7.tar.xz |
Fix:LINK_ROOT flag for llGetLinkName() by SinglePrim
Diffstat (limited to 'OpenSim/Region')
-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 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(); |