mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -2813,7 +2813,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
}
|
||||
else
|
||||
{
|
||||
return LLUUID.Zero.ToString();
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2699,7 +2699,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
}
|
||||
else
|
||||
{
|
||||
return LLUUID.Zero.ToString();
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user