mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user