Skip to content

Commit

Permalink
Merge pull request #243 from Jrius/getvertices_fix
Browse files Browse the repository at this point in the history
Fix pyGBufferGroup.getVertices (#23)
  • Loading branch information
zrax authored Apr 23, 2022
2 parents 4a1fd38 + 5e3b195 commit f807aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/PRP/Geometry/pyGBufferGroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ PY_METHOD_VA(GBufferGroup, getVertices,
if (start == 0 && len == -1)
verts = self->fThis->getVertices(idx);
else
verts = self->fThis->getVertices(start, len);
verts = self->fThis->getVertices(idx, start, len);
PyObject* list = PyTuple_New(verts.size());
for (size_t i=0; i<verts.size(); i++)
PyTuple_SET_ITEM(list, i, pyGBufferVertex_FromGBufferVertex(verts[i]));
Expand Down

0 comments on commit f807aa0

Please sign in to comment.