From: eap Date: Tue, 7 Jun 2011 06:46:33 +0000 (+0000) Subject: 0021294: EDF 1890 : Problem with groups on geometry when dealing with split into... X-Git-Tag: V6_3_1rc1~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0ae2084641f29671e14b18271bed64a7457deebe;p=modules%2Fsmesh.git 0021294: EDF 1890 : Problem with groups on geometry when dealing with split into tetrahedra in SetSubShape(const int aShID) - if ( aShID > 1 ) + if ( aShID > 0 ) SetSubShape( GetMeshDS()->IndexToShape( aShID )); --- diff --git a/src/SMESH/SMESH_MesherHelper.cxx b/src/SMESH/SMESH_MesherHelper.cxx index 698446b5c..dd7943860 100644 --- a/src/SMESH/SMESH_MesherHelper.cxx +++ b/src/SMESH/SMESH_MesherHelper.cxx @@ -194,7 +194,7 @@ void SMESH_MesherHelper::SetSubShape(const int aShID) { if ( aShID == myShapeID ) return; - if ( aShID > 1 ) + if ( aShID > 0 ) SetSubShape( GetMeshDS()->IndexToShape( aShID )); else SetSubShape( TopoDS_Shape() );