fix bad default initialization

0.6.0-stable
Sean Dague 2008-05-15 20:39:34 +00:00
parent 0976949ad4
commit 30202542c0
1 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,8 @@ namespace OpenSim.Framework
m_serial = 0; m_serial = 0;
m_owner = LLUUID.Zero; m_owner = LLUUID.Zero;
m_visualparams = new byte[VISUALPARAM_COUNT]; m_visualparams = new byte[VISUALPARAM_COUNT];
SetDefaultWearables();
m_texture = GetDefaultTexture();
} }
public AvatarAppearance(LLUUID avatarID, AvatarWearable[] wearables, byte[] visualParams) public AvatarAppearance(LLUUID avatarID, AvatarWearable[] wearables, byte[] visualParams)