From 6c3db99a2745f627d0b52ca9a7406c063061ac29 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 27 Jul 2008 19:32:43 +0000 Subject: 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. --- OpenSim/Region/Environment/Scenes/InnerScene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment') 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 // The link set has been completely torn down // This is the case if you select a link set and delink // - parenPrim.RootPart.LinkNum = 1; + parenPrim.RootPart.LinkNum = 0; if (sendEvents) parenPrim.TriggerScriptChangedEvent(Changed.LINK); } -- cgit v1.1