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

@@ -248,7 +248,7 @@ int TopoShapeFacePy::PyInit(PyObject* args, PyObject* /*kwd*/)
PyObject* TopoShapeFacePy::makeOffset(PyObject *args)
{
double dist;
if (!PyArg_ParseTuple(args, "f",&dist))
if (!PyArg_ParseTuple(args, "d",&dist))
return 0;
const TopoDS_Face& f = TopoDS::Face(getTopoShapePtr()->_Shape);