diff options
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) |