forced still bad
parent
29bf9522e2
commit
e04af236f2
|
@ -467,7 +467,17 @@ namespace OpenSim.Region.CoreModules.World.LightShare
|
|||
ScenePresence sp = m_scene.GetScenePresence(agentID);
|
||||
|
||||
if(sp != null && sp.Environment != null)
|
||||
{
|
||||
if (parcelid == -1)
|
||||
VEnv = sp.Environment;
|
||||
else
|
||||
{
|
||||
OSD def = ViewerEnvironment.DefaultToOSD(regionID, parcelid);
|
||||
httpResponse.RawBuffer = OSDParser.SerializeLLSDXmlToBytes(def);
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.OK;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (parcelid == -1)
|
||||
VEnv = GetRegionEnvironment();
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue