]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
authoreap <eap@opencascade.com>
Tue, 10 Apr 2012 10:09:32 +0000 (10:09 +0000)
committereap <eap@opencascade.com>
Tue, 10 Apr 2012 10:09:32 +0000 (10:09 +0000)
   not create excess edges on the seam edge

src/StdMeshers/StdMeshers_Projection_1D2D.cxx

index 15c15dfa79efbf5460d3c617ce5c3d5afdaec662..6dfbad18cc37540446a46cf0711ada5ec84bbff7 100644 (file)
@@ -143,7 +143,7 @@ bool StdMeshers_Projection_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape
         return error("The existing 1D mesh mismatches the generated 2D mesh");
     }
 
-    const bool checkExisting = wires[ iWire ]->NbSegments();
+    const bool checkExisting = ( wires[ iWire ]->NbSegments() || helper.HasSeam() );
 
     if ( _quadraticMesh )
     {