Fixed updating avatar appearance

Signed-off-by: root <root@grid00001.t-data.com>
This commit is contained in:
Oren Hurvitz
2011-07-04 17:54:14 +03:00
committed by root
parent 9fc7d65df7
commit f97278610c
2 changed files with 20 additions and 11 deletions

View File

@@ -196,6 +196,9 @@ namespace OpenSim.Framework
if (appearance.VisualParams != null)
m_visualparams = (byte[])appearance.VisualParams.Clone();
m_avatarHeight = appearance.m_avatarHeight;
m_hipOffset = appearance.m_hipOffset;
// Copy the attachment, force append mode since that ensures consistency
m_attachments = new Dictionary<int, List<AvatarAttachment>>();
foreach (AvatarAttachment attachment in appearance.GetAttachments())
@@ -237,7 +240,6 @@ namespace OpenSim.Framework
{
m_serial = 0;
SetDefaultParams();
SetDefaultTexture();
//for (int i = 0; i < BAKE_INDICES.Length; i++)