aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorAdam Frisby2008-03-03 09:54:39 +0000
committerAdam Frisby2008-03-03 09:54:39 +0000
commit415fc22e5ea326dd104563044533d14d08612f5c (patch)
tree13345d2565757ca0358b4894c51b7c2f6e293e8b /OpenSim/Region/Environment
parent* Fixed about Text in the profile in grid mode. (diff)
downloadopensim-SC_OLD-415fc22e5ea326dd104563044533d14d08612f5c.zip
opensim-SC_OLD-415fc22e5ea326dd104563044533d14d08612f5c.tar.gz
opensim-SC_OLD-415fc22e5ea326dd104563044533d14d08612f5c.tar.bz2
opensim-SC_OLD-415fc22e5ea326dd104563044533d14d08612f5c.tar.xz
* Removed a bunch of compiler warnings.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/FlattenSphere.cs1
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneBase.cs2
2 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/FlattenSphere.cs b/OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/FlattenSphere.cs
index f02a8dd..186147b 100644
--- a/OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/FlattenSphere.cs
+++ b/OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/FlattenSphere.cs
@@ -77,7 +77,6 @@ namespace OpenSim.Region.Environment.Modules.Terrain.PaintBrushes
77 int x, y; 77 int x, y;
78 double[,] tweak = new double[map.Width, map.Height]; 78 double[,] tweak = new double[map.Width, map.Height];
79 79
80 double n, l;
81 double area = strength; 80 double area = strength;
82 double step = strength / 4.0; 81 double step = strength / 4.0;
83 82
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs
index 2a2dea1..9ee5e0e 100644
--- a/OpenSim/Region/Environment/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs
@@ -112,7 +112,7 @@ namespace OpenSim.Region.Environment.Scenes
112 /// <param name="RemoteClient">Client to send to</param> 112 /// <param name="RemoteClient">Client to send to</param>
113 public virtual void SendLayerData(IClientAPI RemoteClient) 113 public virtual void SendLayerData(IClientAPI RemoteClient)
114 { 114 {
115 bool usingTerrainModule = false; 115 bool usingTerrainModule = true;
116 116
117 if (usingTerrainModule) 117 if (usingTerrainModule)
118 { 118 {