diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs index c670cca542..d0cc1eb13e 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs @@ -61,7 +61,6 @@ public sealed class BSCharacter : BSPhysObject private const string AvatarMoveActorName = "BSCharacter.AvatarMove"; private OMV.Vector3 _PIDTarget; - private bool _usePID; private float _PIDTau; // public override OMV.Vector3 RawVelocity diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs index 22b3f3f066..cae9efad58 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs @@ -329,10 +329,6 @@ public sealed class BSLinksetCompound : BSLinkset // Note that this works for rebuilding just the root after a linkset is taken apart. // Called at taint time!! private bool UseBulletSimRootOffsetHack = false; // Attempt to have Bullet track the coords of root compound shape - // Number of times to perform rebuilds on broken linkset children. This should only happen when - // a linkset is initially being created and should happen only one or two times at the most. - // This exists to cause a looping problem to be reported while not rebuilding a linkset forever. - private static int LinksetRebuildFailureLoopPrevention = 10; private void RecomputeLinksetCompound() { try