Update pybullet.c
This commit is contained in:
@@ -2626,7 +2626,8 @@ static PyObject* pybullet_startStateLogging(PyObject* self, PyObject* args, PyOb
|
|||||||
if (seq)
|
if (seq)
|
||||||
{
|
{
|
||||||
int len = PySequence_Size(objectUniqueIdsObj);
|
int len = PySequence_Size(objectUniqueIdsObj);
|
||||||
for (int i=0;i<len;i++)
|
int i;
|
||||||
|
for ( i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
int objectUid = pybullet_internalGetFloatFromSequence(seq, i);
|
int objectUid = pybullet_internalGetFloatFromSequence(seq, i);
|
||||||
b3StateLoggingAddLoggingObjectUniqueId(commandHandle,objectUid);
|
b3StateLoggingAddLoggingObjectUniqueId(commandHandle,objectUid);
|
||||||
|
|||||||
Reference in New Issue
Block a user