mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
0020206: EDF SMESH 987: Netgen1D2D3D +submesh
don't create ordinary submeshes for compounds
This commit is contained in:
parent
666e100eeb
commit
e3ca5591ac
@ -1155,7 +1155,7 @@ int SMESHDS_Mesh::AddCompoundSubmesh(const TopoDS_Shape& S,
|
|||||||
SMESHDS_SubMesh * aNewSub = NewSubMesh( aMainIndex );
|
SMESHDS_SubMesh * aNewSub = NewSubMesh( aMainIndex );
|
||||||
if ( !aNewSub->IsComplexSubmesh() ) // is empty
|
if ( !aNewSub->IsComplexSubmesh() ) // is empty
|
||||||
{
|
{
|
||||||
int shapeType = all ? myShape.ShapeType() : type;
|
int shapeType = Max( TopAbs_SOLID, all ? myShape.ShapeType() : type );
|
||||||
int typeLimit = all ? TopAbs_VERTEX : type;
|
int typeLimit = all ? TopAbs_VERTEX : type;
|
||||||
for ( ; shapeType <= typeLimit; shapeType++ )
|
for ( ; shapeType <= typeLimit; shapeType++ )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user