mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
still not good, add more spaghetti
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user