Merge branch 'master' into careminster
Conflicts: OpenSim/Region/ClientStack/Linden/UDP/LLClientView.csavinationmerge
commit
ca4e6d9b5b
|
@ -786,7 +786,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
requestStream.Close();
|
requestStream.Close();
|
||||||
//m_log.Debug(requestBody);
|
//m_log.Debug(requestBody);
|
||||||
requestBody = requestBody.Replace("<base64></base64>", "");
|
requestBody = requestBody.Replace("<base64></base64>", "");
|
||||||
string responseString = null;
|
string responseString = String.Empty;
|
||||||
XmlRpcRequest xmlRprcRequest = null;
|
XmlRpcRequest xmlRprcRequest = null;
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
|
@ -631,6 +631,20 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
||||||
{
|
{
|
||||||
m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId });
|
m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId });
|
||||||
}
|
}
|
||||||
|
else if (so.HasPrivateAttachmentPoint)
|
||||||
|
{
|
||||||
|
// m_log.DebugFormat(
|
||||||
|
// "[ATTACHMENTS MODULE]: Killing private HUD {0} for avatars other than {1} at attachment point {2}",
|
||||||
|
// so.Name, sp.Name, so.AttachmentPoint);
|
||||||
|
|
||||||
|
// As this scene object can now only be seen by the attaching avatar, tell everybody else in the
|
||||||
|
// scene that it's no longer in their awareness.
|
||||||
|
m_scene.ForEachClient(
|
||||||
|
client =>
|
||||||
|
{ if (client.AgentId != so.AttachedAvatar)
|
||||||
|
client.SendKillObject(m_scene.RegionInfo.RegionHandle, new List<uint>() { so.LocalId });
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
so.IsSelected = false; // fudge....
|
so.IsSelected = false; // fudge....
|
||||||
so.ScheduleGroupForFullUpdate();
|
so.ScheduleGroupForFullUpdate();
|
||||||
|
|
Loading…
Reference in New Issue