From 0ae2084641f29671e14b18271bed64a7457deebe Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 7 Jun 2011 06:46:33 +0000 Subject: [PATCH] 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 )); --- src/SMESH/SMESH_MesherHelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); -- 2.39.2