aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.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/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
parentTiny change to print out a warning in a situation which almost guaranteeably ... (diff)
downloadopensim-SC_OLD-f603e57e9ae9d9b7e3bf6b35924d99292cf6de43.zip
opensim-SC_OLD-f603e57e9ae9d9b7e3bf6b35924d99292cf6de43.tar.gz
opensim-SC_OLD-f603e57e9ae9d9b7e3bf6b35924d99292cf6de43.tar.bz2
opensim-SC_OLD-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 'OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs')
-rw-r--r--OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
index ff157d7..13b3f1a 100644
--- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
+++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
@@ -69,12 +69,16 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
69 public BasicScene() 69 public BasicScene()
70 { 70 {
71 } 71 }
72 72
73 public override void Initialise(IMesher meshmerizer) 73 public override void Initialise(IMesher meshmerizer)
74 { 74 {
75 // Does nothing right now 75 // Does nothing right now
76 } 76 }
77 77
78 public override void Dispose()
79 {
80
81 }
78 public override PhysicsActor AddAvatar(string avName, PhysicsVector position) 82 public override PhysicsActor AddAvatar(string avName, PhysicsVector position)
79 { 83 {
80 BasicActor act = new BasicActor(); 84 BasicActor act = new BasicActor();