From 830fbcde1fbd4d20d3ef27f4de9e17794e36833c Mon Sep 17 00:00:00 2001 From: enn0x Date: Sun, 7 Apr 2013 12:14:46 +0000 Subject: [PATCH] Fixed copy&past error in Bullet spherical constraint (detected by consultit). --- panda/src/bullet/bulletSphericalConstraint.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/bullet/bulletSphericalConstraint.cxx b/panda/src/bullet/bulletSphericalConstraint.cxx index 18eee6621e..5162ce2a5a 100644 --- a/panda/src/bullet/bulletSphericalConstraint.cxx +++ b/panda/src/bullet/bulletSphericalConstraint.cxx @@ -84,7 +84,7 @@ void BulletSphericalConstraint:: set_pivot_b(const LPoint3 &pivot_b) { nassertv(!pivot_b.is_nan()); - _constraint->setPivotA(LVecBase3_to_btVector3(pivot_b)); + _constraint->setPivotB(LVecBase3_to_btVector3(pivot_b)); } ////////////////////////////////////////////////////////////////////