ubitODE bug fix

This commit is contained in:
UbitUmarov
2012-02-29 19:36:16 +00:00
parent a8f1cd7e86
commit ee4d3bfad2

View File

@@ -1302,7 +1302,7 @@ namespace OpenSim.Region.Physics.OdePlugin
waitForSpaceUnlock(currentspace);
d.SpaceRemove(currentspace, geom);
if (d.SpaceGetSublevel(currentspace) > 1 && d.SpaceGetNumGeoms(currentspace) == 0)
if (d.SpaceGetSublevel(currentspace) > 2 && d.SpaceGetNumGeoms(currentspace) == 0)
{
d.SpaceDestroy(currentspace);
}