still not good, add more spaghetti

This commit is contained in:
UbitUmarov
2020-06-22 18:16:48 +01:00
parent 7b3ac662dc
commit f3eb71113e
3 changed files with 39 additions and 20 deletions

View File

@@ -1054,7 +1054,10 @@ namespace OpenSim.Region.CoreModules.World.Archiver
IEnvironmentModule mEnv = scene.RequestModuleInterface<IEnvironmentModule>();
if(mEnv != null)
{
mEnv.StoreOnRegion(regionEnv);
mEnv.WindlightRefresh(0);
}
RegionSettings currentRegionSettings = scene.RegionInfo.RegionSettings;

View File

@@ -1815,7 +1815,14 @@ namespace OpenSim.Region.CoreModules.World.Land
}
}
}
FinalizeLandPrimCountUpdate(); // update simarea information
lock (m_landList)
{
foreach(LandObject lo in m_landList.Values)
lo.SendLandUpdateToAvatarsOverMe();
}
}
}
@@ -1825,7 +1832,6 @@ namespace OpenSim.Region.CoreModules.World.Land
new_land.SetLandBitmapFromByteArray();
AddLandObject(new_land);
// new_land.SendLandUpdateToAvatarsOverMe();
}
public void ReturnObjectsInParcel(int localID, uint returnType, UUID[] agentIDs, UUID[] taskIDs, IClientAPI remoteClient)