mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
fix crash in standalone mode for initial appearance setup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user