Fix error in opensubdiv topology refiner face matching check

This commit is contained in:
Campbell Barton
2019-10-03 05:55:13 +10:00
parent 2b29bf25fc
commit fb9024bded

View File

@@ -389,7 +389,7 @@ bool compareCyclicBackward(const CyclicArray &array_a,
// vertices.
bool checkVerticesOfFacesMatch(const CyclicArray &indices_a, const CyclicArray &indices_b)
{
if (indices_a.size() != indices_a.size()) {
if (indices_a.size() != indices_b.size()) {
return false;
}
// "Align" the arrays so we know first matched element.