From 3ed64e05e2d6fab9ec3c1c9d7f944564336040e6 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 13 May 2016 21:25:05 +0300 Subject: [PATCH] Fix regression SALOME_TESTS/Grids/smesh/imps_10/L3 --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 13 ------------- 1 file changed, 13 deletions(-) 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; -- 2.39.2