ubitODE bug fix

avinationmerge
UbitUmarov 2012-02-29 19:36:16 +00:00
parent a8f1cd7e86
commit ee4d3bfad2
1 changed files with 1 additions and 1 deletions

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);
}