From: Christopher Yeoh <yeohc@au1.ibm.com>

The LL Server sets the CreateSelected flag for a prim when sending a
property update when objects are linked. The following patch 
gets OpenSim to do the same.
0.6.0-stable
Dr Scofield 2008-07-25 10:13:26 +00:00
parent 2d727ebc63
commit 031e140761
2 changed files with 2 additions and 0 deletions

View File

@ -1364,6 +1364,7 @@ namespace OpenSim.Region.Environment.Scenes
// We need to explicitly resend the newly link prim's object properties since no other actions
// occur on link to invoke this elsewhere (such as object selection)
parenPrim.RootPart.AddFlag(LLObject.ObjectFlags.CreateSelected);
parenPrim.TriggerScriptChangedEvent(Changed.LINK);
if (client != null)
parenPrim.GetProperties(client);

View File

@ -1756,6 +1756,7 @@ namespace OpenSim.Region.Environment.Scenes
linkPart.LinkNum = m_parts.Count;
linkPart.SetParent(this);
linkPart.AddFlag(LLObject.ObjectFlags.CreateSelected);
//if (linkPart.PhysActor != null)
//{