diff options
author | UbitUmarov | 2018-06-27 23:14:26 +0100 |
---|---|---|
committer | UbitUmarov | 2018-06-27 23:14:26 +0100 |
commit | 39c8db8eb1cbfdefc120b1bf5f5aef45f9635509 (patch) | |
tree | 4733fcaacd510bdbddf9b41c66fa58f9bc2620f5 /OpenSim/Region/PhysicsModules/ubOde | |
parent | reassign estate setting TaxFree to the role of AllowAccessOverride, as viewe... (diff) | |
download | opensim-SC-39c8db8eb1cbfdefc120b1bf5f5aef45f9635509.zip opensim-SC-39c8db8eb1cbfdefc120b1bf5f5aef45f9635509.tar.gz opensim-SC-39c8db8eb1cbfdefc120b1bf5f5aef45f9635509.tar.bz2 opensim-SC-39c8db8eb1cbfdefc120b1bf5f5aef45f9635509.tar.xz |
ubOde change terrain min height to -100m. Maybe this way a viewer dev mays fix rendering below 0m, like making them think z = 1m for that purpose, for example
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs index e4397e3..fe11505 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | |||
@@ -2170,8 +2170,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
2170 | yy += regionsizeX; | 2170 | yy += regionsizeX; |
2171 | 2171 | ||
2172 | val = heightMap[yy + xx]; | 2172 | val = heightMap[yy + xx]; |
2173 | if (val < 0.0f) | 2173 | if (val < -100.0f) |
2174 | val = 0.0f; // no neg terrain as in chode | 2174 | val = -100.0f; |
2175 | _heightmap[xt + y] = val; | 2175 | _heightmap[xt + y] = val; |
2176 | 2176 | ||
2177 | if (hfmin > val) | 2177 | if (hfmin > val) |
@@ -2279,8 +2279,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
2279 | xx++; | 2279 | xx++; |
2280 | 2280 | ||
2281 | val = heightMap[yy + xx]; | 2281 | val = heightMap[yy + xx]; |
2282 | if (val < 0.0f) | 2282 | if (val < -100.0f) |
2283 | val = 0.0f; // no neg terrain as in chode | 2283 | val = -100.0f; |
2284 | _heightmap[yt + x] = val; | 2284 | _heightmap[yt + x] = val; |
2285 | 2285 | ||
2286 | if (hfmin > val) | 2286 | if (hfmin > val) |