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 ));
This commit is contained in:
eap 2011-06-07 06:46:33 +00:00
parent d8ee702704
commit 0ae2084641

View File

@ -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() );