mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 10:10:33 +05:00
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:
parent
d8ee702704
commit
0ae2084641
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user