App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy
This commit is contained in:
@@ -1931,9 +1931,9 @@ PyObject* TopoShapePy::hashCode(PyObject *args)
|
||||
|
||||
PyObject* TopoShapePy::tessellate(PyObject *args)
|
||||
{
|
||||
float tolerance;
|
||||
double tolerance;
|
||||
PyObject* ok = Py_False;
|
||||
if (!PyArg_ParseTuple(args, "f|O!",&tolerance,&PyBool_Type,&ok))
|
||||
if (!PyArg_ParseTuple(args, "d|O!", &tolerance, &PyBool_Type, &ok))
|
||||
return nullptr;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user