]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
23304: [EDF 10304] Radial Quadrangle on ellipse
authoreap <eap@opencascade.com>
Mon, 1 Aug 2016 13:20:09 +0000 (16:20 +0300)
committereap <eap@opencascade.com>
Mon, 1 Aug 2016 13:20:09 +0000 (16:20 +0300)
 Fix a regression with quadratic elements

src/StdMeshers/StdMeshers_RadialQuadrangle_1D2D.cxx

index 9de37716ab05d67e9576ea955c663e139c6be4e9..2cf790a34b9a87adc18daaa85144b2a6eb178956 100644 (file)
@@ -582,7 +582,7 @@ namespace
     {
       if ( meshDS->FindEdge( nodes[i].node, nodes[i-1].node )) continue;
 
-      const SMDS_MeshElement* seg = meshDS->AddEdge( nodes[i].node, nodes[i-1].node );
+      const SMDS_MeshElement* seg = helper->AddEdge( nodes[i].node, nodes[i-1].node );
 
       double normParam = 0.5 * ( nodes[i].normParam + nodes[i-1].normParam );
       edgeID = linSide->EdgeID( linSide->EdgeIndex( normParam ));