Salome HOME
Regression of 0022150 (SALOME_TESTS/Grids/smesh/mesh_Projection_2D_00/B2)
authoreap <eap@opencascade.com>
Fri, 14 Nov 2014 10:50:08 +0000 (13:50 +0300)
committereap <eap@opencascade.com>
Fri, 14 Nov 2014 10:50:08 +0000 (13:50 +0300)
src/StdMeshers/StdMeshers_Projection_2D.cxx

index 23732bd..057070d 100644 (file)
@@ -726,7 +726,7 @@ namespace {
         {
         case SMDS_TOP_FACE:
         {
-          if ( nbOkPos < 10 ) break;
+          if ( nbOkPos > 10 ) break;
           gp_XY uv = helper.GetNodeUV( tgtFace, n ), uvBis = uv;
           if (( helper.CheckNodeUV( tgtFace, n, uv, tol )) &&
               (( uv - uvBis ).SquareModulus() < tol2d ))