diff options
author | Robert Adams | 2013-05-02 10:06:12 -0700 |
---|---|---|
committer | Robert Adams | 2013-05-02 10:06:12 -0700 |
commit | d9c3947824feccd3522c70a72b75c72a84bab3e0 (patch) | |
tree | 32348167e8aea62420bb3158f790140f38609d2f /OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | |
parent | Merge branch 'master' into bulletsim4 (diff) | |
download | opensim-SC-d9c3947824feccd3522c70a72b75c72a84bab3e0.zip opensim-SC-d9c3947824feccd3522c70a72b75c72a84bab3e0.tar.gz opensim-SC-d9c3947824feccd3522c70a72b75c72a84bab3e0.tar.bz2 opensim-SC-d9c3947824feccd3522c70a72b75c72a84bab3e0.tar.xz |
BulletSim: Rebuild physical body if physical shape changes for mesh and hull.
Properly rebuilds collision caches.
Release asset data fetched when building mesh or hulls.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs index f535e50..b9bd909 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | |||
@@ -596,6 +596,7 @@ namespace OpenSim.Region.Physics.BulletSPlugin | |||
596 | public override void Refresh() | 596 | public override void Refresh() |
597 | { | 597 | { |
598 | // If asking for a refresh, reset the physical parameters before the next simulation step. | 598 | // If asking for a refresh, reset the physical parameters before the next simulation step. |
599 | // Called whether active or not since the active state may be updated before the next step. | ||
599 | m_physicsScene.PostTaintObject("BSDynamics.Refresh", ControllingPrim.LocalID, delegate() | 600 | m_physicsScene.PostTaintObject("BSDynamics.Refresh", ControllingPrim.LocalID, delegate() |
600 | { | 601 | { |
601 | SetPhysicalParameters(); | 602 | SetPhysicalParameters(); |