Cause a request to a different attachment point to taint the attachment so

that the attachment point is saved even if nothing else changed
This commit is contained in:
Melanie Thielker
2008-10-04 16:58:34 +00:00
parent 603c9af52b
commit 68c0393c51

View File

@@ -461,8 +461,14 @@ namespace OpenSim.Region.Environment.Scenes
if (objatt != null)
{
bool tainted = false;
if (AttachmentPt != 0 && AttachmentPt != objatt.GetAttachmentPoint())
tainted = true;
AttachObject(remoteClient, objatt.LocalId, AttachmentPt, Quaternion.Identity, objatt.AbsolutePosition);
objatt.ScheduleGroupForFullUpdate();
if (tainted)
objatt.HasGroupChanged = true;
}
return objatt;
}