diff options
author | Robert Adams | 2015-08-09 15:34:06 -0700 |
---|---|---|
committer | Robert Adams | 2015-08-09 15:34:06 -0700 |
commit | fe86df0ec9582c61ad3a50b53a73398393b13c87 (patch) | |
tree | 007e1af42f2cb1f885fa00b32dda004312e38dee /OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs | |
parent | Corrected spelling of SQLITE. Fixes mantis #7675. (diff) | |
download | opensim-SC_OLD-fe86df0ec9582c61ad3a50b53a73398393b13c87.zip opensim-SC_OLD-fe86df0ec9582c61ad3a50b53a73398393b13c87.tar.gz opensim-SC_OLD-fe86df0ec9582c61ad3a50b53a73398393b13c87.tar.bz2 opensim-SC_OLD-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/BSActorAvatarMove.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs index c0d65be..bde4557 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs | |||
@@ -71,8 +71,7 @@ public class BSActorAvatarMove : BSActor | |||
71 | public override void Dispose() | 71 | public override void Dispose() |
72 | { | 72 | { |
73 | base.SetEnabled(false); | 73 | base.SetEnabled(false); |
74 | // Now that turned off, remove any state we have in the scene. | 74 | DeactivateAvatarMove(); |
75 | Refresh(); | ||
76 | } | 75 | } |
77 | 76 | ||
78 | // Called when physical parameters (properties set in Bullet) need to be re-applied. | 77 | // Called when physical parameters (properties set in Bullet) need to be re-applied. |