From cedddf3e95105f5947c7f18e7b757ca1bc4953a4 Mon Sep 17 00:00:00 2001 From: imadhammani Date: Mon, 29 Jul 2024 19:01:01 +0200 Subject: [PATCH] KCore Connect: fix --- Cassiopee/KCore/KCore/Connect/ngonTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cassiopee/KCore/KCore/Connect/ngonTools.cpp b/Cassiopee/KCore/KCore/Connect/ngonTools.cpp index ead70cc30..f607fcc00 100644 --- a/Cassiopee/KCore/KCore/Connect/ngonTools.cpp +++ b/Cassiopee/KCore/KCore/Connect/ngonTools.cpp @@ -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