mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
ubitODE bug fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user