From: eap Date: Fri, 23 Aug 2013 16:23:57 +0000 (+0000) Subject: SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025 X-Git-Tag: V7_3_0a1~184 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b14fd3f9bd962bd40ef317aea2472283ebfa2500;p=modules%2Fsmesh.git SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025 Ignore degenerated EDGEs when counting computed sub-meshes --- diff --git a/src/StdMeshers/StdMeshers_Import_1D.cxx b/src/StdMeshers/StdMeshers_Import_1D.cxx index c24c20aac..6443d98d2 100644 --- a/src/StdMeshers/StdMeshers_Import_1D.cxx +++ b/src/StdMeshers/StdMeshers_Import_1D.cxx @@ -227,6 +227,8 @@ namespace // INTERNAL STUFF switch ( sm->GetSubShape().ShapeType() ) { case TopAbs_EDGE: + if ( SMESH_Algo::isDegenerated( TopoDS::Edge( sm->GetSubShape() ))) + continue; case TopAbs_FACE: _subM.insert( sm ); if ( !sm->IsEmpty() )