From 79a5cde3b56e5e7bb4436b218294422825815e0a Mon Sep 17 00:00:00 2001 From: marioalexis Date: Tue, 31 May 2022 13:06:23 -0300 Subject: [PATCH] Base: Fix bad parse argument in AxisPyImp.cpp --- src/Base/AxisPyImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Base/AxisPyImp.cpp b/src/Base/AxisPyImp.cpp index 020a713341..87245d6dea 100644 --- a/src/Base/AxisPyImp.cpp +++ b/src/Base/AxisPyImp.cpp @@ -69,7 +69,7 @@ int AxisPy::PyInit(PyObject* args, PyObject* /*kwd*/) PyErr_Clear(); PyObject* d; - if (PyArg_ParseTuple(args, "O!O", &(Base::VectorPy::Type), &o, + if (PyArg_ParseTuple(args, "O!O!", &(Base::VectorPy::Type), &o, &(Base::VectorPy::Type), &d)) { // NOTE: The first parameter defines the base (origin) and the second the direction. *getAxisPtr() = Base::Axis(static_cast(o)->value(),