mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
*Added EstateSettings.cs and moved many relevant variables from RegionInfoBase to EstateSettings class and added an EstateSettings objection to RegionInfoBase
*Added a few missed copyright headers *Fixed a filename typo
This commit is contained in:
@@ -463,7 +463,7 @@ namespace OpenSim.RegionServer.Simulator
|
||||
float[] map = this.localStorage.LoadWorld();
|
||||
if (map == null)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.m_regInfo.TerrainFile))
|
||||
if (string.IsNullOrEmpty(this.m_regInfo.estateSettings.terrainFile))
|
||||
{
|
||||
Console.WriteLine("No default terrain, procedurally generating...");
|
||||
this.Terrain.hills();
|
||||
@@ -474,8 +474,8 @@ namespace OpenSim.RegionServer.Simulator
|
||||
{
|
||||
try
|
||||
{
|
||||
this.Terrain.loadFromFileF32(this.m_regInfo.TerrainFile);
|
||||
this.Terrain *= this.m_regInfo.TerrainMultiplier;
|
||||
this.Terrain.loadFromFileF32(this.m_regInfo.estateSettings.terrainFile);
|
||||
this.Terrain *= this.m_regInfo.estateSettings.terrainMultiplier;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user