aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 83190c4..51c0e15 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -1077,7 +1077,11 @@ namespace OpenSim.Region.Physics.OdePlugin
1077 { 1077 {
1078 for (int x = 0; x < 512; x++) 1078 for (int x = 0; x < 512; x++)
1079 { 1079 {
1080 returnarr[i] = resultarr2[y, x]; 1080 if (resultarr2[y, x] <= 0)
1081 returnarr[i] = 0.0000001f;
1082 else
1083 returnarr[i] = resultarr2[y, x];
1084
1081 i++; 1085 i++;
1082 } 1086 }
1083 } 1087 }