May fix mantis #7133

bullet-2.82
Diva Canto 2014-06-05 18:59:30 -07:00
parent 30cde52634
commit 5bb95a8a55
1 changed files with 13 additions and 8 deletions

View File

@ -1153,16 +1153,21 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
parameters = (OSDMap)Params; parameters = (OSDMap)Params;
if (parameters.ContainsKey("result"))
{
OSDArray list = (OSDArray)parameters["result"]; OSDArray list = (OSDArray)parameters["result"];
foreach(OSD asset in list) foreach (OSD asset in list)
{ {
OSDString assetId = (OSDString)asset; OSDString assetId = (OSDString)asset;
Scene.AssetService.Get(string.Format("{0}/{1}",assetServerURI, assetId.AsString())); Scene.AssetService.Get(string.Format("{0}/{1}", assetServerURI, assetId.AsString()));
} }
return true; return true;
} }
else
return false;
}
/// <summary> /// <summary>
/// Gets the user account data. /// Gets the user account data.