Skip to content

Commit

Permalink
Fix invalid return value assignment in getEdgeVertexIndices
Browse files Browse the repository at this point in the history
  • Loading branch information
ideasman42 committed Jun 9, 2021
1 parent 059f19d commit 84af1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intern/opensubdiv/internal/topology/mesh_topology.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void MeshTopology::getEdgeVertexIndices(int edge_index, int *v1, int *v2) const

if (edge_index >= edges_.size()) {
*v1 = -1;
*v1 = -1;
*v2 = -1;
return;
}

Expand Down

0 comments on commit 84af1ea

Please sign in to comment.