From: eap Date: Thu, 19 May 2022 17:20:16 +0000 (+0300) Subject: fix 2D_mesh_QuadranglePreference_01/B8 X-Git-Tag: V9_9_0rc2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FV9_9_BR;p=modules%2Fsmesh.git fix 2D_mesh_QuadranglePreference_01/B8 --- diff --git a/src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx b/src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx index 21fad8e52..5cdf93f2b 100644 --- a/src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx +++ b/src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx @@ -1185,6 +1185,8 @@ namespace if ( !npCloseV._node || npCloseV._node == npVert._node ) { npProj = npCloseN; + if ( i+1 < projToMerge.size() && u2NPClose == projToMerge[ i+1 ]) + ++i; thePointsOnE.erase( u2NPClose ); continue; }