fix crash in standalone mode for initial appearance setup

This commit is contained in:
Sean Dague
2008-05-19 20:33:54 +00:00
parent 01b5425a2d
commit 7a52b35c57
3 changed files with 16 additions and 7 deletions

View File

@@ -60,7 +60,10 @@ namespace OpenSim.Region.Modules.AvatarFactory
public bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance)
{
appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId);
return true;
if (appearance != null)
return true;
else
return false;
// //should only let one thread at a time do this part
// EventWaitHandle waitHandle = null;