diff --git a/src/Mod/Path/App/VoronoiCellPy.xml b/src/Mod/Path/App/VoronoiCellPy.xml
index ffc4b57a2b78..6bce1f0b0c34 100644
--- a/src/Mod/Path/App/VoronoiCellPy.xml
+++ b/src/Mod/Path/App/VoronoiCellPy.xml
@@ -20,19 +20,19 @@
Internal id of the element.
-
+
Assigned color of the receiver.
-
+
Returns the index of the cell's source
-
+
diff --git a/src/Mod/Path/App/VoronoiCellPyImp.cpp b/src/Mod/Path/App/VoronoiCellPyImp.cpp
index 95c832886652..bf4e998affeb 100644
--- a/src/Mod/Path/App/VoronoiCellPyImp.cpp
+++ b/src/Mod/Path/App/VoronoiCellPyImp.cpp
@@ -111,12 +111,12 @@ VoronoiCell* getVoronoiCellFromPy(const VoronoiCellPy *c, PyObject *args = 0) {
return self;
}
-Py::Int VoronoiCellPy::getIndex(void) const {
+Py::Long VoronoiCellPy::getIndex(void) const {
VoronoiCell *c = getVoronoiCellPtr();
if (c->isBound()) {
- return Py::Int(c->dia->index(c->ptr));
+ return Py::Long(c->dia->index(c->ptr));
}
- return Py::Int(-1);
+ return Py::Long(-1);
}
Py::Long VoronoiCellPy::getColor(void) const {
@@ -131,10 +131,10 @@ void VoronoiCellPy::setColor(Py::Long color) {
getCellFromPy(this)->color(int(color) & Voronoi::ColorMask);
}
-Py::Int VoronoiCellPy::getSourceIndex(void) const
+Py::Long VoronoiCellPy::getSourceIndex(void) const
{
VoronoiCell *c = getVoronoiCellFromPy(this);
- return Py::Int(c->ptr->source_index());
+ return Py::Long(c->ptr->source_index());
}
Py::Int VoronoiCellPy::getSourceCategory(void) const
diff --git a/src/Mod/Path/App/VoronoiEdgePy.xml b/src/Mod/Path/App/VoronoiEdgePy.xml
index daf107b7a28c..08324ff2ff29 100644
--- a/src/Mod/Path/App/VoronoiEdgePy.xml
+++ b/src/Mod/Path/App/VoronoiEdgePy.xml
@@ -20,13 +20,13 @@
Internal id of the element.
-
+
Assigned color of the receiver.
-
+
diff --git a/src/Mod/Path/App/VoronoiEdgePyImp.cpp b/src/Mod/Path/App/VoronoiEdgePyImp.cpp
index 7ca2f8525122..91a3d5026887 100644
--- a/src/Mod/Path/App/VoronoiEdgePyImp.cpp
+++ b/src/Mod/Path/App/VoronoiEdgePyImp.cpp
@@ -130,12 +130,12 @@ VoronoiEdge* getVoronoiEdgeFromPy(const VoronoiEdgePy *e, PyObject *args = 0) {
return self;
}
-Py::Int VoronoiEdgePy::getIndex(void) const {
+Py::Long VoronoiEdgePy::getIndex(void) const {
VoronoiEdge *e = getVoronoiEdgePtr();
if (e->isBound()) {
- return Py::Int(e->dia->index(e->ptr));
+ return Py::Long(e->dia->index(e->ptr));
}
- return Py::Int(-1);
+ return Py::Long(-1);
}
Py::Long VoronoiEdgePy::getColor(void) const {
diff --git a/src/Mod/Path/App/VoronoiVertexPy.xml b/src/Mod/Path/App/VoronoiVertexPy.xml
index ef5eca069f73..7cdd517b8b97 100644
--- a/src/Mod/Path/App/VoronoiVertexPy.xml
+++ b/src/Mod/Path/App/VoronoiVertexPy.xml
@@ -20,13 +20,13 @@
Internal id of the element.
-
+
Assigned color of the receiver.
-
+
diff --git a/src/Mod/Path/App/VoronoiVertexPyImp.cpp b/src/Mod/Path/App/VoronoiVertexPyImp.cpp
index beef937908d5..c03fa30b55d4 100644
--- a/src/Mod/Path/App/VoronoiVertexPyImp.cpp
+++ b/src/Mod/Path/App/VoronoiVertexPyImp.cpp
@@ -113,12 +113,12 @@ VoronoiVertex* getVoronoiVertexFromPy(const VoronoiVertexPy *v, PyObject *args =
}
-Py::Int VoronoiVertexPy::getIndex(void) const {
+Py::Long VoronoiVertexPy::getIndex(void) const {
VoronoiVertex *v = getVoronoiVertexPtr();
if (v->isBound()) {
- return Py::Int(v->dia->index(v->ptr));
+ return Py::Long(v->dia->index(v->ptr));
}
- return Py::Int(-1);
+ return Py::Long(-1);
}
Py::Long VoronoiVertexPy::getColor(void) const {