diff options
Diffstat (limited to 'OpenSim/Region/Modules/AvatarFactory')
-rw-r--r-- | OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs index 7dae702..837a4ec 100644 --- a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -60,7 +60,10 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
60 | public bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance) | 60 | public bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance) |
61 | { | 61 | { |
62 | appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId); | 62 | appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId); |
63 | return true; | 63 | if (appearance != null) |
64 | return true; | ||
65 | else | ||
66 | return false; | ||
64 | 67 | ||
65 | // //should only let one thread at a time do this part | 68 | // //should only let one thread at a time do this part |
66 | // EventWaitHandle waitHandle = null; | 69 | // EventWaitHandle waitHandle = null; |