env asset can be any llsd type

master
UbitUmarov 2020-06-10 20:32:30 +01:00
parent 2179aa14e0
commit 9ce70be5ce
1 changed files with 2 additions and 2 deletions

View File

@ -453,10 +453,10 @@ namespace OpenSim.Region.CoreModules.World.LightShare
} }
try try
{ {
OSD oenv = OSDParser.DeserializeLLSDXml(asset.Data); OSD oenv = OSDParser.Deserialize(asset.Data);
VEnv.CycleFromOSD(oenv); VEnv.CycleFromOSD(oenv);
} }
catch (Exception e) catch
{ {
httpResponse.StatusCode = (int)HttpStatusCode.NotFound; httpResponse.StatusCode = (int)HttpStatusCode.NotFound;
return; return;