From fb9024bdedacda7ea214cf68e72947adc6b56ac6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 3 Oct 2019 05:55:13 +1000 Subject: Fix error in opensubdiv topology refiner face matching check --- intern/opensubdiv/internal/opensubdiv_topology_refiner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/opensubdiv') diff --git a/intern/opensubdiv/internal/opensubdiv_topology_refiner.cc b/intern/opensubdiv/internal/opensubdiv_topology_refiner.cc index f4a1a82ca52..30013966961 100644 --- a/intern/opensubdiv/internal/opensubdiv_topology_refiner.cc +++ b/intern/opensubdiv/internal/opensubdiv_topology_refiner.cc @@ -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. -- cgit v1.2.3