Fixed python format flags "f" from float to double "d"

This commit is contained in:
jriegel
2013-09-22 22:03:02 +02:00
parent 66ee73f54b
commit 0738ced074
4 changed files with 9 additions and 9 deletions

View File

@@ -356,7 +356,7 @@ static PyObject * offset(PyObject *self,PyObject *args)
{
double offset;
PyObject *pcObj;
if (!PyArg_ParseTuple(args, "O!f",&(TopoShapePy::Type), &pcObj,&offset ))
if (!PyArg_ParseTuple(args, "O!d",&(TopoShapePy::Type), &pcObj,&offset ))
return NULL;
TopoShapePy *pcShape = static_cast<TopoShapePy*>(pcObj); //Original-Shape wird hier übergeben