diff options
author | Teravus Ovares | 2008-02-11 22:54:51 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-11 22:54:51 +0000 |
commit | f603e57e9ae9d9b7e3bf6b35924d99292cf6de43 (patch) | |
tree | 5b3395faf6d8d9c46006f4d7fdb2ddfe36bd8be6 /OpenSim/Region/Physics/BasicPhysicsPlugin | |
parent | Tiny change to print out a warning in a situation which almost guaranteeably ... (diff) | |
download | opensim-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 'OpenSim/Region/Physics/BasicPhysicsPlugin')
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 6 |
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(); |