mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
lang env on sqlite
This commit is contained in:
@@ -223,7 +223,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
||||
|
||||
private void GetAttachmentsReport(ScenePresence sp, StringBuilder sb)
|
||||
{
|
||||
sb.AppendFormat("Attachments for {0}\n\n", sp.Name);
|
||||
sb.AppendFormat("Attachments for {0}\n", sp.Name);
|
||||
|
||||
ConsoleDisplayList ct = new ConsoleDisplayList();
|
||||
|
||||
|
||||
@@ -255,7 +255,7 @@ namespace OpenSim.Region.CoreModules.World.LightShare
|
||||
WindlightRefresh(0);
|
||||
}
|
||||
|
||||
public void WindlightRefresh(int interpolate, bool notforparcel = true)
|
||||
public void WindlightRefresh(int interpolate, bool forRegion = true)
|
||||
{
|
||||
List<byte[]> ls = null;
|
||||
m_scene.ForEachRootScenePresence(delegate (ScenePresence sp)
|
||||
@@ -270,9 +270,11 @@ namespace OpenSim.Region.CoreModules.World.LightShare
|
||||
|
||||
uint vflags = client.GetViewerCaps();
|
||||
|
||||
if (notforparcel && (vflags & 0x8000) != 0)
|
||||
m_estateModule.HandleRegionInfoRequest(client);
|
||||
|
||||
if ((vflags & 0x8000) != 0)
|
||||
{
|
||||
if (forRegion)
|
||||
m_estateModule.HandleRegionInfoRequest(client);
|
||||
}
|
||||
else if ((vflags & 0x4000) != 0)
|
||||
m_eventQueue.WindlightRefreshEvent(interpolate, client.AgentId);
|
||||
|
||||
@@ -434,7 +436,7 @@ namespace OpenSim.Region.CoreModules.World.LightShare
|
||||
if (land != null && land.LandData != null)
|
||||
{
|
||||
land.StoreEnvironment(null);
|
||||
WindlightRefresh(0);
|
||||
WindlightRefresh(0, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user