aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSActorHover.cs
diff options
context:
space:
mode:
authorRobert Adams2015-08-09 15:34:06 -0700
committerRobert Adams2015-08-09 15:34:06 -0700
commitfe86df0ec9582c61ad3a50b53a73398393b13c87 (patch)
tree007e1af42f2cb1f885fa00b32dda004312e38dee /OpenSim/Region/Physics/BulletSPlugin/BSActorHover.cs
parentCorrected spelling of SQLITE. Fixes mantis #7675. (diff)
downloadopensim-SC-fe86df0ec9582c61ad3a50b53a73398393b13c87.zip
opensim-SC-fe86df0ec9582c61ad3a50b53a73398393b13c87.tar.gz
opensim-SC-fe86df0ec9582c61ad3a50b53a73398393b13c87.tar.bz2
opensim-SC-fe86df0ec9582c61ad3a50b53a73398393b13c87.tar.xz
BulletSim: update the motion actors so they completely clean themselves
when Dispose() is called. This reduces chance of object leakage when destroying objects. Rearrange initialization and shut down of BSActorLockAxis so it is consistant with other actors.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSActorHover.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSActorHover.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActorHover.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActorHover.cs
index 8a79809..e54c27b 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSActorHover.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSActorHover.cs
@@ -58,6 +58,7 @@ public class BSActorHover : BSActor
58 public override void Dispose() 58 public override void Dispose()
59 { 59 {
60 Enabled = false; 60 Enabled = false;
61 DeactivateHover();
61 } 62 }
62 63
63 // Called when physical parameters (properties set in Bullet) need to be re-applied. 64 // Called when physical parameters (properties set in Bullet) need to be re-applied.