From: eap Date: Thu, 28 Mar 2013 15:13:04 +0000 (+0000) Subject: In IsStructured() X-Git-Tag: pluginMGCleaner~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=44ce7a32cdd027636249122383b2f655c4fcfb9f;p=modules%2Fsmesh.git In IsStructured() - if ( nbWires != 1 || nbEdgesInWires.front() != 4 ) + if ( nbWires != 1 /*|| nbEdgesInWires.front() != 4*/ ) // allow composite sides --- diff --git a/src/SMESH/SMESH_MesherHelper.cxx b/src/SMESH/SMESH_MesherHelper.cxx index 258c8ff8a..b0ecaf556 100644 --- a/src/SMESH/SMESH_MesherHelper.cxx +++ b/src/SMESH/SMESH_MesherHelper.cxx @@ -2170,7 +2170,7 @@ bool SMESH_MesherHelper::IsStructured( SMESH_subMesh* faceSM ) list< int > nbEdgesInWires; int nbWires = SMESH_Block::GetOrderedEdges( TopoDS::Face( faceSM->GetSubShape() ), edges, nbEdgesInWires ); - if ( nbWires != 1 || nbEdgesInWires.front() != 4 ) + if ( nbWires != 1 /*|| nbEdgesInWires.front() != 4*/ ) // allow composite sides return false; // algo: find corners of a structure and then analyze nb of faces and