mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* For your enjoyment, some RAdmin improvements, namely a new LoadHeightmap method.
This commit is contained in:
@@ -774,6 +774,15 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
mapTexture.Save(fileName, ImageFormat.Jpeg);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Loads a world map from a specified R32 file
|
||||
/// </summary>
|
||||
/// <param name="filename">A working R32 file</param>
|
||||
public void LoadWorldMap(string filename)
|
||||
{
|
||||
Terrain.LoadFromFileF32(filename);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Loads the World heightmap
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user