diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs index 21a416a..9604bb3 100644 --- a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs +++ b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs | |||
@@ -65,7 +65,7 @@ namespace OpenSim.Region.Environment.Modules | |||
65 | { | 65 | { |
66 | appearance.VisualParams = GetDefaultVisualParams(); | 66 | appearance.VisualParams = GetDefaultVisualParams(); |
67 | appearance.TextureEntry = AvatarAppearance.GetDefaultTextureEntry(); | 67 | appearance.TextureEntry = AvatarAppearance.GetDefaultTextureEntry(); |
68 | m_avatarsAppearance[avatarId] = appearance; | 68 | m_avatarsAppearance.Add(avatarId, appearance); |
69 | return true; | 69 | return true; |
70 | } | 70 | } |
71 | } | 71 | } |
@@ -77,7 +77,7 @@ namespace OpenSim.Region.Environment.Modules | |||
77 | GetDefaultAvatarAppearance(out wearables, out visualParams); | 77 | GetDefaultAvatarAppearance(out wearables, out visualParams); |
78 | appearance = new AvatarAppearance(avatarId, wearables, visualParams); | 78 | appearance = new AvatarAppearance(avatarId, wearables, visualParams); |
79 | 79 | ||
80 | m_avatarsAppearance[avatarId] = appearance; | 80 | m_avatarsAppearance.Add(avatarId, appearance); |
81 | if (m_enablePersist) | 81 | if (m_enablePersist) |
82 | { | 82 | { |
83 | m_appearanceMapper.Add(avatarId.UUID, appearance); | 83 | m_appearanceMapper.Add(avatarId.UUID, appearance); |
@@ -204,4 +204,4 @@ namespace OpenSim.Region.Environment.Modules | |||
204 | return visualParams; | 204 | return visualParams; |
205 | } | 205 | } |
206 | } | 206 | } |
207 | } \ No newline at end of file | 207 | } |