Part: Fix a missing argument for HLR projector
This commit is contained in:
committed by
WandererFan
parent
346d0d7231
commit
6c49f90ad3
@@ -114,7 +114,7 @@ PyObject* HLRBRep_AlgoPy::setProjector(PyObject *args, PyObject *kwds)
|
||||
PyObject* xd = nullptr;
|
||||
double focus = std::numeric_limits<double>::quiet_NaN();
|
||||
|
||||
static const std::array<const char *, 4> kwlist {"Origin", "ZDir", "XDir", nullptr};
|
||||
static const std::array<const char *, 5> 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,
|
||||
|
||||
Reference in New Issue
Block a user