mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 18:00:34 +05:00
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
Ignore degenerated EDGEs when counting computed sub-meshes
This commit is contained in:
parent
a1c755a149
commit
b14fd3f9bd
@ -227,6 +227,8 @@ namespace // INTERNAL STUFF
|
|||||||
switch ( sm->GetSubShape().ShapeType() )
|
switch ( sm->GetSubShape().ShapeType() )
|
||||||
{
|
{
|
||||||
case TopAbs_EDGE:
|
case TopAbs_EDGE:
|
||||||
|
if ( SMESH_Algo::isDegenerated( TopoDS::Edge( sm->GetSubShape() )))
|
||||||
|
continue;
|
||||||
case TopAbs_FACE:
|
case TopAbs_FACE:
|
||||||
_subM.insert( sm );
|
_subM.insert( sm );
|
||||||
if ( !sm->IsEmpty() )
|
if ( !sm->IsEmpty() )
|
||||||
|
Loading…
Reference in New Issue
Block a user