May fix mantis #7133
parent
63a6998409
commit
becb949a33
|
@ -1152,16 +1152,21 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
|
||||||
}
|
}
|
||||||
|
|
||||||
parameters = (OSDMap)Params;
|
parameters = (OSDMap)Params;
|
||||||
|
|
||||||
OSDArray list = (OSDArray)parameters["result"];
|
|
||||||
|
|
||||||
foreach(OSD asset in list)
|
|
||||||
{
|
|
||||||
OSDString assetId = (OSDString)asset;
|
|
||||||
|
|
||||||
Scene.AssetService.Get(string.Format("{0}/{1}",assetServerURI, assetId.AsString()));
|
if (parameters.ContainsKey("result"))
|
||||||
|
{
|
||||||
|
OSDArray list = (OSDArray)parameters["result"];
|
||||||
|
|
||||||
|
foreach (OSD asset in list)
|
||||||
|
{
|
||||||
|
OSDString assetId = (OSDString)asset;
|
||||||
|
|
||||||
|
Scene.AssetService.Get(string.Format("{0}/{1}", assetServerURI, assetId.AsString()));
|
||||||
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return true;
|
else
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue