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.
0.6.0-stable
Melanie Thielker 2008-07-27 19:32:43 +00:00
parent 839e9c94e8
commit 6c3db99a27
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -2813,7 +2813,7 @@ namespace OpenSim.Region.ScriptEngine.Common
}
else
{
return LLUUID.Zero.ToString();
return "";
}
}

View File

@ -2699,7 +2699,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
else
{
return LLUUID.Zero.ToString();
return "";
}
}