aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTom Grimshaw2010-06-26 17:34:19 -0700
committerTom Grimshaw2010-06-26 17:34:19 -0700
commit3bcee57e3efbd63f392067bff1a01ae51be98d13 (patch)
tree3074b0ffb6928739b45cf9d4e3aebe94cd6e0f90
parentAdd a new accessor for the TerainModule : "HasChanged" (diff)
downloadopensim-SC-3bcee57e3efbd63f392067bff1a01ae51be98d13.zip
opensim-SC-3bcee57e3efbd63f392067bff1a01ae51be98d13.tar.gz
opensim-SC-3bcee57e3efbd63f392067bff1a01ae51be98d13.tar.bz2
opensim-SC-3bcee57e3efbd63f392067bff1a01ae51be98d13.tar.xz
add HasChanged to ITerrainModule
-rw-r--r--OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs7
-rw-r--r--OpenSim/Region/Framework/Interfaces/ITerrainModule.cs3
2 files changed, 4 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
index 5bf1f9c..ffd86a4 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
+++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs
@@ -93,12 +93,9 @@ namespace OpenSim.Region.CoreModules.World.Terrain
93 get { return m_commander; } 93 get { return m_commander; }
94 } 94 }
95 95
96 public bool HasChanged 96 public bool HasChanged()
97 { 97 {
98 get 98 return m_tainted;
99 {
100 return m_tainted;
101 }
102 } 99 }
103 100
104 #endregion 101 #endregion
diff --git a/OpenSim/Region/Framework/Interfaces/ITerrainModule.cs b/OpenSim/Region/Framework/Interfaces/ITerrainModule.cs
index 5947afb..98996e2 100644
--- a/OpenSim/Region/Framework/Interfaces/ITerrainModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/ITerrainModule.cs
@@ -42,7 +42,8 @@ namespace OpenSim.Region.Framework.Interfaces
42 /// Use this if you change terrain data outside of the terrain module (e.g. in osTerrainSetHeight) 42 /// Use this if you change terrain data outside of the terrain module (e.g. in osTerrainSetHeight)
43 /// </summary> 43 /// </summary>
44 void TaintTerrain(); 44 void TaintTerrain();
45 45
46 bool HasChanged();
46 /// <summary> 47 /// <summary>
47 /// Load a terrain from a stream. 48 /// Load a terrain from a stream.
48 /// </summary> 49 /// </summary>