From 631d36e87c4b7028e74f878b7a705215ccfa8f3e Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 13 Apr 2022 11:23:15 +0200 Subject: [PATCH] App: [skip ci] fix bug in ComplexGeoDataPy::getPoints The normals were added to the wrong list --- src/App/ComplexGeoDataPyImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/ComplexGeoDataPyImp.cpp b/src/App/ComplexGeoDataPyImp.cpp index 867d3969c1..b7dd72f234 100644 --- a/src/App/ComplexGeoDataPyImp.cpp +++ b/src/App/ComplexGeoDataPyImp.cpp @@ -176,7 +176,7 @@ PyObject* ComplexGeoDataPy::getPoints(PyObject *args) Py::List normal; for (std::vector::const_iterator it = normals.begin(); it != normals.end(); ++it) { - vertex.append(Py::asObject(new Base::VectorPy(*it))); + normal.append(Py::asObject(new Base::VectorPy(*it))); } tuple.setItem(1, normal); return Py::new_reference_to(tuple);