Try to repair attachments ion the fly if they are detached and reattached.

avinationmerge
Melanie 2011-04-26 23:18:52 +02:00
parent c411ab54ee
commit e713b7e3bb
1 changed files with 4 additions and 0 deletions

View File

@ -4038,6 +4038,10 @@ if (m_animator.m_jumping) force.Z = m_animator.m_jumpVelocity; // add for ju
{ {
lock (m_attachments) 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); m_attachments.Add(gobj);
} }
} }