Cause a request to a different attachment point to taint the attachment so
that the attachment point is saved even if nothing else changed0.6.0-stable
parent
603c9af52b
commit
68c0393c51
|
@ -461,8 +461,14 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
if (objatt != null)
|
if (objatt != null)
|
||||||
{
|
{
|
||||||
|
bool tainted = false;
|
||||||
|
if (AttachmentPt != 0 && AttachmentPt != objatt.GetAttachmentPoint())
|
||||||
|
tainted = true;
|
||||||
|
|
||||||
AttachObject(remoteClient, objatt.LocalId, AttachmentPt, Quaternion.Identity, objatt.AbsolutePosition);
|
AttachObject(remoteClient, objatt.LocalId, AttachmentPt, Quaternion.Identity, objatt.AbsolutePosition);
|
||||||
objatt.ScheduleGroupForFullUpdate();
|
objatt.ScheduleGroupForFullUpdate();
|
||||||
|
if (tainted)
|
||||||
|
objatt.HasGroupChanged = true;
|
||||||
}
|
}
|
||||||
return objatt;
|
return objatt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue