Fix problem where object attached from ground often does not get attached properly.
It seems this is happening because we send a kill for objects that are selected when attached. A code comment says that this is to get the client to deselect it, but v3 and v1 clients do this just fine without the kill. Aims to address http://opensimulator.org/mantis/view.php?id=6456user_profiles
parent
aa78df4a79
commit
7f195de303
|
@ -654,15 +654,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
||||||
|
|
||||||
if (!silent)
|
if (!silent)
|
||||||
{
|
{
|
||||||
// Killing it here will cause the client to deselect it
|
if (so.HasPrivateAttachmentPoint)
|
||||||
// It then reappears on the avatar, deselected
|
|
||||||
// through the full update below
|
|
||||||
//
|
|
||||||
if (so.IsSelected)
|
|
||||||
{
|
|
||||||
m_scene.SendKillObject(new List<uint> { so.RootPart.LocalId });
|
|
||||||
}
|
|
||||||
else if (so.HasPrivateAttachmentPoint)
|
|
||||||
{
|
{
|
||||||
// m_log.DebugFormat(
|
// m_log.DebugFormat(
|
||||||
// "[ATTACHMENTS MODULE]: Killing private HUD {0} for avatars other than {1} at attachment point {2}",
|
// "[ATTACHMENTS MODULE]: Killing private HUD {0} for avatars other than {1} at attachment point {2}",
|
||||||
|
|
Loading…
Reference in New Issue