From: eap Date: Fri, 13 May 2016 18:25:05 +0000 (+0300) Subject: Fix regression SALOME_TESTS/Grids/smesh/imps_10/L3 X-Git-Tag: V7_8_0rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3ed64e05e2d6fab9ec3c1c9d7f944564336040e6;p=plugins%2Fblsurfplugin.git Fix regression SALOME_TESTS/Grids/smesh/imps_10/L3 --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index f46be51..1f64b0f 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -1844,19 +1844,6 @@ namespace SMESH_MesherHelper tmpHelper( *this ); tmpHelper.SetSubShape( _proxyFace ); - // remove the faces made by the mesher - { - SMESHDS_Mesh* meshDS = helper.GetMeshDS(); - SMESH_subMesh* sm = origMesh.GetSubMesh( origFace ); - if ( SMESHDS_SubMesh* smDS = sm->GetSubMeshDS() ) - { - SMDS_ElemIteratorPtr eIt = smDS->GetElements(); - while ( eIt->more() ) meshDS->RemoveFreeElement( eIt->next(), smDS ); - SMDS_NodeIteratorPtr nIt = smDS->GetNodes(); - while ( nIt->more() ) meshDS->RemoveFreeNode( nIt->next(), smDS ); - } - } - // iterate over tmp faces and copy them in origMesh const SMDS_MeshNode* nodes[27]; const SMDS_MeshNode* nullNode = 0;