Skip to content

Commit

Permalink
KCore Connect: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
imadhammani committed Jul 29, 2024
1 parent 165de4e commit cedddf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cassiopee/KCore/KCore/Connect/ngonTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void K_CONNECT::reversi_connex(E_Int *pgs, E_Int *xpgs, E_Int npgs,

for (E_Int i = xpgs[K]; i < xpgs[K+1]; i++) {
E_Int nei = neighbours[i];
if (processed[nei] || nei == -1)
if (nei == -1 || processed[nei])
continue;

// get the shared edge between face K and face nei
Expand Down

0 comments on commit cedddf3

Please sign in to comment.