mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 01:20:32 +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 )
|
if ( aShID == myShapeID )
|
||||||
return;
|
return;
|
||||||
if ( aShID > 1 )
|
if ( aShID > 0 )
|
||||||
SetSubShape( GetMeshDS()->IndexToShape( aShID ));
|
SetSubShape( GetMeshDS()->IndexToShape( aShID ));
|
||||||
else
|
else
|
||||||
SetSubShape( TopoDS_Shape() );
|
SetSubShape( TopoDS_Shape() );
|
||||||
|
Loading…
Reference in New Issue
Block a user