fix a pybullet.c issue on some compilers (don't allow for (int i=...)
make the build_visual_studio_vr_pybullet_double.bat smart enough to find any Python installation in c:\python*
This commit is contained in:
@@ -1268,7 +1268,7 @@ static PyObject* pybullet_getVisualShapeData(PyObject* self, PyObject* args)
|
||||
b3SharedMemoryStatusHandle statusHandle;
|
||||
struct b3VisualShapeInformation visualShapeInfo;
|
||||
int statusType;
|
||||
|
||||
int i;
|
||||
PyObject* pyResultList = 0;
|
||||
|
||||
if (size == 1)
|
||||
@@ -1285,7 +1285,7 @@ static PyObject* pybullet_getVisualShapeData(PyObject* self, PyObject* args)
|
||||
{
|
||||
b3GetVisualShapeInformation(sm, &visualShapeInfo);
|
||||
pyResultList = PyTuple_New(visualShapeInfo.m_numVisualShapes);
|
||||
for (int i = 0; i < visualShapeInfo.m_numVisualShapes; i++)
|
||||
for (i = 0; i < visualShapeInfo.m_numVisualShapes; i++)
|
||||
{
|
||||
PyObject* visualShapeObList = PyTuple_New(7);
|
||||
PyObject* item;
|
||||
|
||||
Reference in New Issue
Block a user