aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-02-11 22:54:51 +0000
committerTeravus Ovares2008-02-11 22:54:51 +0000
commitf603e57e9ae9d9b7e3bf6b35924d99292cf6de43 (patch)
tree5b3395faf6d8d9c46006f4d7fdb2ddfe36bd8be6 /OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
parentTiny change to print out a warning in a situation which almost guaranteeably ... (diff)
downloadopensim-SC-f603e57e9ae9d9b7e3bf6b35924d99292cf6de43.zip
opensim-SC-f603e57e9ae9d9b7e3bf6b35924d99292cf6de43.tar.gz
opensim-SC-f603e57e9ae9d9b7e3bf6b35924d99292cf6de43.tar.bz2
opensim-SC-f603e57e9ae9d9b7e3bf6b35924d99292cf6de43.tar.xz
* Added PhysicsScene.Dispose()
* In ODE, disposing of all of the ODE objects and the ODE World to reclaim memory when the simulator restarts.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
index 27ae490..fb32f93 100644
--- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
+++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
@@ -409,7 +409,10 @@ namespace OpenSim.Region.Physics.BulletXPlugin
409 mesher = meshmerizer; 409 mesher = meshmerizer;
410 } 410 }
411 411
412 public override void Dispose()
413 {
412 414
415 }
413 public override PhysicsActor AddAvatar(string avName, PhysicsVector position) 416 public override PhysicsActor AddAvatar(string avName, PhysicsVector position)
414 { 417 {
415 PhysicsVector pos = new PhysicsVector(); 418 PhysicsVector pos = new PhysicsVector();