From bb77c0670a5c2c238da3a2dadc5894519f9ec335 Mon Sep 17 00:00:00 2001 From: Pieter Hijma Date: Tue, 14 Nov 2023 18:08:04 +0100 Subject: [PATCH] Fix a small problem with parameters This is the same problem as in https://github.com/FreeCAD/FreeCAD/pull/10727. Apparently it was also present in PolyAlgo. --- src/Mod/Part/App/HLRBRep/HLRBRep_PolyAlgoPyImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/HLRBRep/HLRBRep_PolyAlgoPyImp.cpp b/src/Mod/Part/App/HLRBRep/HLRBRep_PolyAlgoPyImp.cpp index 0082278620..a599d7d1ba 100644 --- a/src/Mod/Part/App/HLRBRep/HLRBRep_PolyAlgoPyImp.cpp +++ b/src/Mod/Part/App/HLRBRep/HLRBRep_PolyAlgoPyImp.cpp @@ -86,7 +86,7 @@ PyObject* HLRBRep_PolyAlgoPy::setProjector(PyObject *args, PyObject *kwds) PyObject* xd = nullptr; double focus = std::numeric_limits::quiet_NaN(); - static const std::array kwlist {"Origin", "ZDir", "XDir", nullptr}; + static const std::array kwlist {"Origin", "ZDir", "XDir", "focus", nullptr}; if (Base::Wrapped_ParseTupleAndKeywords(args, kwds, "|O!O!O!d", kwlist, &Base::VectorPy::Type, &ps, &Base::VectorPy::Type, &zd,