Part: fix TopoShapePy::optimalBoundingBox
This commit is contained in:
@@ -2671,8 +2671,9 @@ PyObject* TopoShapePy::optimalBoundingBox(PyObject *args)
|
||||
{
|
||||
PyObject* useT = Py_True;
|
||||
PyObject* useS = Py_False;
|
||||
if (!PyArg_ParseTuple(args, "|O!O!", &PyBool_Type, &PyBool_Type, &useT, &useS))
|
||||
if (!PyArg_ParseTuple(args, "|O!O!", &PyBool_Type, &useT, &PyBool_Type, &useS)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
try {
|
||||
TopoDS_Shape shape = this->getTopoShapePtr()->getShape();
|
||||
|
||||
Reference in New Issue
Block a user