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

that the attachment point is saved even if nothing else changed
0.6.0-stable
Melanie Thielker 2008-10-04 16:58:34 +00:00
parent 603c9af52b
commit 68c0393c51
1 changed files with 6 additions and 0 deletions

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;
}