]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021529: [CEA 551] I,j,k mesher does not mesh 2D quadragular meshes
authoreap <eap@opencascade.com>
Wed, 11 Apr 2012 08:35:01 +0000 (08:35 +0000)
committereap <eap@opencascade.com>
Wed, 11 Apr 2012 08:35:01 +0000 (08:35 +0000)
 correct isClosedChainOfSides()

src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx

index ae13a68f61c8f424b32f84ab2dc4056570a69379..a54045de1157eb288a389b8ca06927d0b00608a3 100644 (file)
@@ -727,7 +727,7 @@ namespace
       nbChainLinks++;
     }
 
-    return nbChainLinks == NB_QUAD_SIDES;
+    return ( n == n2 && nbChainLinks == NB_QUAD_SIDES );
   }
 
   //================================================================================