aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2019-11-12 18:24:56 +0000
committerUbitUmarov2019-11-12 18:24:56 +0000
commit8fcecc93a62291633cc590a6b8e76e3f8ecb1444 (patch)
tree35919dbb656f13fa31f5e6aede65eb22f75bf1c8 /OpenSim
parentterrain replace double by float (diff)
downloadopensim-SC-8fcecc93a62291633cc590a6b8e76e3f8ecb1444.zip
opensim-SC-8fcecc93a62291633cc590a6b8e76e3f8ecb1444.tar.gz
opensim-SC-8fcecc93a62291633cc590a6b8e76e3f8ecb1444.tar.bz2
opensim-SC-8fcecc93a62291633cc590a6b8e76e3f8ecb1444.tar.xz
missed a few
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs b/OpenSim/Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs
index 6a832bc..9a67966 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs
+++ b/OpenSim/Region/CoreModules/World/Terrain/Tests/TerrainModuleTests.cs
@@ -50,11 +50,11 @@ namespace OpenSim.Region.CoreModules.Terrain.Tests
50 50
51 // Fillheight of 30 51 // Fillheight of 30
52 { 52 {
53 double fillHeight = 30; 53 float fillHeight = 30;
54 54
55 tm.InterfaceFillTerrain(new object[] { fillHeight }); 55 tm.InterfaceFillTerrain(new object[] { fillHeight });
56 56
57 double height = scene.Heightmap[128, 128]; 57 float height = scene.Heightmap[128, 128];
58 58
59 Assert.AreEqual(fillHeight, height); 59 Assert.AreEqual(fillHeight, height);
60 } 60 }
@@ -62,11 +62,11 @@ namespace OpenSim.Region.CoreModules.Terrain.Tests
62 // Max fillheight of 30 62 // Max fillheight of 30
63 // According to http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files#Notes_for_Creating_Height_Field_Maps_for_Second_Life 63 // According to http://wiki.secondlife.com/wiki/Tips_for_Creating_Heightfields_and_Details_on_Terrain_RAW_Files#Notes_for_Creating_Height_Field_Maps_for_Second_Life
64 { 64 {
65 double fillHeight = 508; 65 float fillHeight = 508;
66 66
67 tm.InterfaceFillTerrain(new object[] { fillHeight }); 67 tm.InterfaceFillTerrain(new object[] { fillHeight });
68 68
69 double height = scene.Heightmap[128, 128]; 69 float height = scene.Heightmap[128, 128];
70 70
71 Assert.AreEqual(fillHeight, height); 71 Assert.AreEqual(fillHeight, height);
72 } 72 }