From 8cc7433d68b67450fed58bbdb5b165b052811244 Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Tue, 21 Jul 2015 20:11:59 -0700 Subject: [PATCH] BulletSim: fix cut-and-paste typo in constraint frame setting. This code is in the XNA module so it does not affect the normal Bullet configuration . --- OpenSim/Region/Physics/BulletSPlugin/BSAPIXNA.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSAPIXNA.cs b/OpenSim/Region/Physics/BulletSPlugin/BSAPIXNA.cs index f833d54943..741f8dbf1d 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSAPIXNA.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSAPIXNA.cs @@ -658,7 +658,7 @@ private sealed class BulletConstraintXNA : BulletConstraint IndexedVector3 frame2v = new IndexedVector3(pframe2.X, pframe2.Y, pframe2.Z); IndexedQuaternion frame2rot = new IndexedQuaternion(pframe2rot.X, pframe2rot.Y, pframe2rot.Z, pframe2rot.W); IndexedMatrix frame2 = IndexedMatrix.CreateFromQuaternion(frame2rot); - frame2._origin = frame1v; + frame2._origin = frame2v; constraint.SetFrames(ref frame1, ref frame2); return true; }