Fixed python format flags "f" from float to double "d"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user