mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* Fixed spamming the assets table with map tiles. The tile image ID is now stored in regionsettings. Upon generation of a new tile image, the old one is deleted. Tested for SQLite and MySql standalone.
* Fixed small bug with map search where the local sim regions weren't found.
This commit is contained in:
@@ -1823,7 +1823,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <summary>
|
||||
/// Create a terrain texture for this scene
|
||||
/// </summary>
|
||||
public void CreateTerrainTexture(bool temporary)
|
||||
public void CreateTerrainTexture()
|
||||
{
|
||||
//create a texture asset of the terrain
|
||||
IMapImageGenerator terrain = RequestModuleInterface<IMapImageGenerator>();
|
||||
@@ -1841,7 +1841,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
IWorldMapModule mapModule = RequestModuleInterface<IWorldMapModule>();
|
||||
|
||||
if (mapModule != null)
|
||||
mapModule.LazySaveGeneratedMaptile(data, temporary);
|
||||
mapModule.RegenerateMaptile(data);
|
||||
else
|
||||
m_log.DebugFormat("[SCENE]: MapModule is null, can't save maptile");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user