aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2008-07-27 19:32:43 +0000
committerMelanie Thielker2008-07-27 19:32:43 +0000
commit6c3db99a2745f627d0b52ca9a7406c063061ac29 (patch)
tree75aca7cb66456a71f6cf8ba4b8e8ca5e55ab4792 /OpenSim/Region
parentPrevents Mantis #1829 (diff)
downloadopensim-SC-6c3db99a2745f627d0b52ca9a7406c063061ac29.zip
opensim-SC-6c3db99a2745f627d0b52ca9a7406c063061ac29.tar.gz
opensim-SC-6c3db99a2745f627d0b52ca9a7406c063061ac29.tar.bz2
opensim-SC-6c3db99a2745f627d0b52ca9a7406c063061ac29.tar.xz
Addresses Mantis #1688
Changes erroneous return value of llGetLinkname() to "" for nonexistent prims. Corrects an issue where the root prim of a linked set, upon delink, retains the part number 1.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
3 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index 55b3ca7..359b6f3 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -1432,7 +1432,7 @@ namespace OpenSim.Region.Environment.Scenes
1432 // The link set has been completely torn down 1432 // The link set has been completely torn down
1433 // This is the case if you select a link set and delink 1433 // This is the case if you select a link set and delink
1434 // 1434 //
1435 parenPrim.RootPart.LinkNum = 1; 1435 parenPrim.RootPart.LinkNum = 0;
1436 if (sendEvents) 1436 if (sendEvents)
1437 parenPrim.TriggerScriptChangedEvent(Changed.LINK); 1437 parenPrim.TriggerScriptChangedEvent(Changed.LINK);
1438 } 1438 }
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 684c0cb..59d5f08 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -2813,7 +2813,7 @@ namespace OpenSim.Region.ScriptEngine.Common
2813 } 2813 }
2814 else 2814 else
2815 { 2815 {
2816 return LLUUID.Zero.ToString(); 2816 return "";
2817 } 2817 }
2818 } 2818 }
2819 2819
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 4438395..c5f1763 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2699,7 +2699,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2699 } 2699 }
2700 else 2700 else
2701 { 2701 {
2702 return LLUUID.Zero.ToString(); 2702 return "";
2703 } 2703 }
2704 } 2704 }
2705 2705