parent
a5fb011041
commit
843be1e93d
|
@ -88,6 +88,8 @@ namespace OpenSim.Region.Communications.OGS1
|
|||
}
|
||||
|
||||
public AvatarAppearance ConvertXMLRPCDataToAvatarAppearance(Hashtable data)
|
||||
{
|
||||
if (data != null)
|
||||
{
|
||||
if (data.Contains("error_type"))
|
||||
{
|
||||
|
@ -95,14 +97,18 @@ namespace OpenSim.Region.Communications.OGS1
|
|||
"Error sent by user server when trying to get user appearance: (" +
|
||||
data["error_type"] +
|
||||
"): " + data["error_desc"]);
|
||||
return null;
|
||||
return new AvatarAppearance();
|
||||
}
|
||||
else
|
||||
{
|
||||
return new AvatarAppearance(data);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_log.Error("[GRID]: The avatar appearance is null, something bad happenend");
|
||||
return new AvatarAppearance();
|
||||
}
|
||||
}
|
||||
|
||||
public List<AvatarPickerAvatar> ConvertXMLRPCDataToAvatarPickerList(LLUUID queryID, Hashtable data)
|
||||
|
|
Loading…
Reference in New Issue