Thank you Melanie for a patch to SceneObjectPart.cs so that on first transmission of task data to the connection of the creator/owner, the CreateSelected bit in the object flags is now set.
parent
b3aa6e616b
commit
41e71e5548
|
@ -313,6 +313,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
LLObject.ObjectFlags.ObjectMove |
|
||||
LLObject.ObjectFlags.AllowInventoryDrop |
|
||||
LLObject.ObjectFlags.ObjectTransfer |
|
||||
LLObject.ObjectFlags.CreateSelected |
|
||||
LLObject.ObjectFlags.ObjectOwnerModify;
|
||||
|
||||
ScheduleFullUpdate();
|
||||
|
@ -855,8 +856,24 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
LLQuaternion lRot;
|
||||
lRot = RotationOffset;
|
||||
uint clientFlags = ObjectFlags & ~(uint)LLObject.ObjectFlags.CreateSelected;
|
||||
|
||||
remoteClient.SendPrimitiveToClient(m_regionHandle, 64096, LocalID, m_shape, lPos, ObjectFlags, m_uuid,
|
||||
List<ScenePresence> avatars=m_parentGroup.GetScenePresences();
|
||||
foreach(ScenePresence s in avatars)
|
||||
{
|
||||
if(s.m_uuid == OwnerID)
|
||||
{
|
||||
if(s.ControllingClient == remoteClient)
|
||||
{
|
||||
clientFlags = ObjectFlags;
|
||||
m_flags &= ~LLObject.ObjectFlags.CreateSelected;
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
remoteClient.SendPrimitiveToClient(m_regionHandle, 64096, LocalID, m_shape, lPos, clientFlags, m_uuid,
|
||||
OwnerID,
|
||||
m_text, ParentID, m_particleSystem, lRot);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue