]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
#16843 EDF 19340 - wrong quadratic mesh
authoreap <eap@opencascade.com>
Fri, 19 Apr 2019 11:22:25 +0000 (14:22 +0300)
committereap <eap@opencascade.com>
Fri, 19 Apr 2019 11:22:25 +0000 (14:22 +0300)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 621258fde1185b0e2c57b214251ee296f1c175fc..63fe22e149f7d035ece36171c69b8d943e2d89a5 100644 (file)
@@ -2700,6 +2700,8 @@ bool BLSURFPlugin_BLSURF::compute(SMESH_Mesh&         aMesh,
                             nodes[evtri[0]], nodes[evtri[1]], nodes[evtri[2]]);
     }
     else {
+      if ( helper.GetIsQuadratic() )
+        helper.SetSubShape( tag );
       tri = helper.AddFace(nodes[vtx[0]], nodes[vtx[1]], nodes[vtx[2]]);
     }
     meshDS->SetMeshElementOnShape(tri, tag);