mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-08-31 15:38:41 +00:00
minor fix
This commit is contained in:
@@ -4493,8 +4493,9 @@ static PyObject* pybullet_calculateInverseKinematics(PyObject* self,
|
||||
if (numJoints && (szJointDamping == numJoints))
|
||||
{
|
||||
int szInBytes = sizeof(double) * numJoints;
|
||||
int i;
|
||||
jointDamping = (double*)malloc(szInBytes);
|
||||
for (int i = 0; i < numJoints; i++)
|
||||
for (i = 0; i < numJoints; i++)
|
||||
{
|
||||
jointDamping[i] = pybullet_internalGetFloatFromSequence(jointDampingObj, i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user