]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
0021819: [CEA 646] BLSURF creates duplicate nodes, mesh impossible with GHS3D
authoreap <eap@opencascade.com>
Wed, 29 Aug 2012 07:28:51 +0000 (07:28 +0000)
committereap <eap@opencascade.com>
Wed, 29 Aug 2012 07:28:51 +0000 (07:28 +0000)
+          // prevent creation of a node on an internal vertex by SMESH Engine
+          mesh.GetSubMesh( exp_face.Current() )->SetIsAlwaysComputed( true );

src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 28a1172961cb00f223b6ecdf9f2a33000925c917..0c4060aa44db7de4502e6dd1759d3632e780a762 100644 (file)
@@ -1047,6 +1047,8 @@ void BLSURFPlugin_BLSURF::SetParameters(
           enfVertex->grpName = grpName;
           _createEnforcedVertexOnFace( TopoDS::Face(exp.Current()),  aPnt, enfVertex);
           HasSizeMapOnFace = true;
+          // prevent creation of a node on an internal vertex by SMESH Engine
+          mesh.GetSubMesh( exp_face.Current() )->SetIsAlwaysComputed( true );
         }
       }
     }