diff options
author | Sean Dague | 2008-05-15 20:39:34 +0000 |
---|---|---|
committer | Sean Dague | 2008-05-15 20:39:34 +0000 |
commit | 30202542c03b765bd11795dd1873a1ab3d9a8970 (patch) | |
tree | 36d7ae53a53f12999c4abf1cc901cefe5796bff4 | |
parent | * Committing half of patch mantis 001291 from Melanie! Thanks Melanie. (diff) | |
download | opensim-SC_OLD-30202542c03b765bd11795dd1873a1ab3d9a8970.zip opensim-SC_OLD-30202542c03b765bd11795dd1873a1ab3d9a8970.tar.gz opensim-SC_OLD-30202542c03b765bd11795dd1873a1ab3d9a8970.tar.bz2 opensim-SC_OLD-30202542c03b765bd11795dd1873a1ab3d9a8970.tar.xz |
fix bad default initialization
-rw-r--r-- | OpenSim/Framework/AvatarAppearance.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index 0b59a67..42cd6f9 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs | |||
@@ -243,6 +243,8 @@ namespace OpenSim.Framework | |||
243 | m_serial = 0; | 243 | m_serial = 0; |
244 | m_owner = LLUUID.Zero; | 244 | m_owner = LLUUID.Zero; |
245 | m_visualparams = new byte[VISUALPARAM_COUNT]; | 245 | m_visualparams = new byte[VISUALPARAM_COUNT]; |
246 | SetDefaultWearables(); | ||
247 | m_texture = GetDefaultTexture(); | ||
246 | } | 248 | } |
247 | 249 | ||
248 | public AvatarAppearance(LLUUID avatarID, AvatarWearable[] wearables, byte[] visualParams) | 250 | public AvatarAppearance(LLUUID avatarID, AvatarWearable[] wearables, byte[] visualParams) |