aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
index ccb4c23..eb5c687 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
@@ -1302,7 +1302,7 @@ namespace OpenSim.Region.Physics.OdePlugin
1302 waitForSpaceUnlock(currentspace); 1302 waitForSpaceUnlock(currentspace);
1303 d.SpaceRemove(currentspace, geom); 1303 d.SpaceRemove(currentspace, geom);
1304 1304
1305 if (d.SpaceGetSublevel(currentspace) > 1 && d.SpaceGetNumGeoms(currentspace) == 0) 1305 if (d.SpaceGetSublevel(currentspace) > 2 && d.SpaceGetNumGeoms(currentspace) == 0)
1306 { 1306 {
1307 d.SpaceDestroy(currentspace); 1307 d.SpaceDestroy(currentspace);
1308 } 1308 }