Merge pull request #1854 from RanTig/pybullet-plugincommand-fix

Small fix in executePluginCommand
This commit is contained in:
erwincoumans
2018-09-04 09:42:32 -07:00
committed by GitHub

View File

@@ -8400,7 +8400,7 @@ static PyObject* pybullet_executePluginCommand(PyObject* self,
PyObject* seqIntArgs = intArgs?PySequence_Fast(intArgs, "expected a sequence"):0;
PyObject* seqFloatArgs = floatArgs?PySequence_Fast(floatArgs, "expected a sequence"):0;
int numIntArgs = seqIntArgs?PySequence_Size(intArgs):0;
int numFloatArgs = seqIntArgs?PySequence_Size(floatArgs):0;
int numFloatArgs = seqFloatArgs?PySequence_Size(floatArgs):0;
int i;
for (i=0;i<numIntArgs;i++)
{