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