FSO.Vitaboy.SimAvatar.ReloadBody C# (CSharp) Method

ReloadBody() private method

Reloads the body mesh.
private ReloadBody ( ) : void
return void
        private void ReloadBody()
        {
            if (m_BodyInstance != null)
            {
                base.RemoveAppearance(m_BodyInstance, true);
            }
            if (m_Body != null)
            {
                var AppearanceID = m_Body.GetAppearance(m_Appearance);
                var Appearance = FSO.Content.Content.Get().AvatarAppearances.Get(AppearanceID);
                if (Appearance != null)
                {
                    m_BodyInstance = base.AddAppearance(Appearance);
                }
            }
        }