[Bf-blender-cvs] [fb9024bdeda] master: Fix error in opensubdiv topology refiner face matching check

Campbell Barton noreply at git.blender.org
Wed Oct 2 23:40:35 CEST 2019


Commit: fb9024bdedacda7ea214cf68e72947adc6b56ac6
Author: Campbell Barton
Date:   Thu Oct 3 05:55:13 2019 +1000
Branches: master
https://developer.blender.org/rBfb9024bdedacda7ea214cf68e72947adc6b56ac6

Fix error in opensubdiv topology refiner face matching check

===================================================================

M	intern/opensubdiv/internal/opensubdiv_topology_refiner.cc

===================================================================

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.



More information about the Bf-blender-cvs mailing list