mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Try to repair attachments ion the fly if they are detached and reattached.
This commit is contained in:
@@ -4038,6 +4038,10 @@ if (m_animator.m_jumping) force.Z = m_animator.m_jumpVelocity; // add for ju
|
||||
{
|
||||
lock (m_attachments)
|
||||
{
|
||||
// This may be true when the attachment comes back
|
||||
// from serialization after login. Clear it.
|
||||
gobj.IsDeleted = false;
|
||||
|
||||
m_attachments.Add(gobj);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user