diff options
author | Robert Adams | 2012-09-27 22:00:02 -0700 |
---|---|---|
committer | Robert Adams | 2012-09-27 22:02:13 -0700 |
commit | 6f89975526359b81c43c23d9a549660d12212c59 (patch) | |
tree | 7cf390516d8cc0422499dd891f9ceb48d6eb624f /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |
parent | BulletSim: rename some constraint variables to be consistant with other name ... (diff) | |
download | opensim-SC-6f89975526359b81c43c23d9a549660d12212c59.zip opensim-SC-6f89975526359b81c43c23d9a549660d12212c59.tar.gz opensim-SC-6f89975526359b81c43c23d9a549660d12212c59.tar.bz2 opensim-SC-6f89975526359b81c43c23d9a549660d12212c59.tar.xz |
BulletSim: add separate runtime and taint-time linkset children lists to keep the creation of constraints separate from runtime.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs index c879143..87ffe3e 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |||
@@ -1120,8 +1120,7 @@ public sealed class BSPrim : BSPhysObject | |||
1120 | { | 1120 | { |
1121 | // Called if the current prim body is about to be destroyed. | 1121 | // Called if the current prim body is about to be destroyed. |
1122 | // The problem is the constraints for Linksets which need to be updated for the new body. | 1122 | // The problem is the constraints for Linksets which need to be updated for the new body. |
1123 | Linkset.RemoveBodyDependencies(this); | 1123 | needToRestoreLinkset = Linkset.RemoveBodyDependencies(this); |
1124 | needToRestoreLinkset = true; | ||
1125 | }); | 1124 | }); |
1126 | 1125 | ||
1127 | if (needToRestoreLinkset) | 1126 | if (needToRestoreLinkset) |