App: [skip ci] fix bug in ComplexGeoDataPy::getPoints

The normals were added to the wrong list
This commit is contained in:
wmayer
2022-04-13 11:23:15 +02:00
parent 78e1174018
commit 631d36e87c

View File

@@ -176,7 +176,7 @@ PyObject* ComplexGeoDataPy::getPoints(PyObject *args)
Py::List normal;
for (std::vector<Base::Vector3d>::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);