diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-09 18:55:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-09 19:22:45 +0300 |
commit | 84af1eaa923bf61492b360a9ffbc45ef4f2f7aeb (patch) | |
tree | f22c4a48c2b2097c646dede795bb44604c8e4aea /intern/opensubdiv/internal | |
parent | 059f19d8218dcebfd1af53d87bc1d6d05a2cecc5 (diff) |
Fix invalid return value assignment in getEdgeVertexIndices
Diffstat (limited to 'intern/opensubdiv/internal')
-rw-r--r-- | intern/opensubdiv/internal/topology/mesh_topology.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/opensubdiv/internal/topology/mesh_topology.cc b/intern/opensubdiv/internal/topology/mesh_topology.cc index 9197a5c1b54..29c387876ef 100644 --- a/intern/opensubdiv/internal/topology/mesh_topology.cc +++ b/intern/opensubdiv/internal/topology/mesh_topology.cc @@ -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; } |