Commit 0d86681b authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #8823 from wpalfi:patch-1

parents fdba5488 0f42031b
......@@ -1052,7 +1052,7 @@ PyObject* pyopencv_from(const Point2d& p)
template<>
PyObject* pyopencv_from(const Point3d& p)
{
return Py_BuildValue("(ddd)", p.x, p.y, p.y);
return Py_BuildValue("(ddd)", p.x, p.y, p.z);
}
template<typename _Tp> struct pyopencvVecConverter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment