Base: Fix bad parse argument in AxisPyImp.cpp
This commit is contained in:
committed by
Chris Hennes
parent
33556d8a56
commit
79a5cde3b5
@@ -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<Base::VectorPy*>(o)->value(),
|
||||
|
||||
Reference in New Issue
Block a user