From d750647fb1395d8e9cbaf59ec65a6366070ed9d2 Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Thu, 25 Jun 2015 22:02:12 -0700 Subject: [PATCH] BulletSim: fix two compiler warnings. Mostly code left over from things that are not done that way anymore. --- OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs | 1 - OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs | 4 ---- 2 files changed, 5 deletions(-) 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