diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLUserData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLUserData.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Data/MySQL/MySQLUserData.cs b/OpenSim/Data/MySQL/MySQLUserData.cs index 677d287..cd5ac39 100644 --- a/OpenSim/Data/MySQL/MySQLUserData.cs +++ b/OpenSim/Data/MySQL/MySQLUserData.cs | |||
@@ -661,9 +661,7 @@ namespace OpenSim.Data.MySQL | |||
661 | AvatarAppearance appearance = null; | 661 | AvatarAppearance appearance = null; |
662 | if (!m_appearanceMapper.TryGetValue(user.UUID, out appearance)) | 662 | if (!m_appearanceMapper.TryGetValue(user.UUID, out appearance)) |
663 | { | 663 | { |
664 | appearance = new AvatarAppearance(); | 664 | appearance = null; |
665 | appearance.Owner = user; | ||
666 | UpdateUserAppearance(user, appearance); | ||
667 | } | 665 | } |
668 | return appearance; | 666 | return appearance; |
669 | } | 667 | } |