From 5e9ae68df4de26464a68c20d2a5a0e9966a79c7c Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 13 Feb 2008 15:27:11 +0000 Subject: [PATCH] * Fix for mantis 522. However, I would be a little surprised if this code did much anyway, so perhaps it's not currently in use. --- OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs index 21a416a793..9604bb3f63 100644 --- a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs +++ b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs @@ -65,7 +65,7 @@ namespace OpenSim.Region.Environment.Modules { appearance.VisualParams = GetDefaultVisualParams(); appearance.TextureEntry = AvatarAppearance.GetDefaultTextureEntry(); - m_avatarsAppearance[avatarId] = appearance; + m_avatarsAppearance.Add(avatarId, appearance); return true; } } @@ -77,7 +77,7 @@ namespace OpenSim.Region.Environment.Modules GetDefaultAvatarAppearance(out wearables, out visualParams); appearance = new AvatarAppearance(avatarId, wearables, visualParams); - m_avatarsAppearance[avatarId] = appearance; + m_avatarsAppearance.Add(avatarId, appearance); if (m_enablePersist) { m_appearanceMapper.Add(avatarId.UUID, appearance); @@ -204,4 +204,4 @@ namespace OpenSim.Region.Environment.Modules return visualParams; } } -} \ No newline at end of file +}