diff options
author | UbitUmarov | 2012-02-29 19:36:16 +0000 |
---|---|---|
committer | UbitUmarov | 2012-02-29 19:36:16 +0000 |
commit | ee4d3bfad2c9660637c24195a68d3f4484fed0b7 (patch) | |
tree | 92b99fcac8c9adb10def55ecb719e684d0fdea76 /OpenSim | |
parent | update ubitODE to current working state (diff) | |
download | opensim-SC_OLD-ee4d3bfad2c9660637c24195a68d3f4484fed0b7.zip opensim-SC_OLD-ee4d3bfad2c9660637c24195a68d3f4484fed0b7.tar.gz opensim-SC_OLD-ee4d3bfad2c9660637c24195a68d3f4484fed0b7.tar.bz2 opensim-SC_OLD-ee4d3bfad2c9660637c24195a68d3f4484fed0b7.tar.xz |
ubitODE bug fix
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | 2 |
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 | } |