mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
22011: [CEA 736] Mesh ends with "Global 2D algorithm is missing"
In checkMissing(), check only sub-meshes on meshable shapes (edges,faces,solids)
This commit is contained in:
parent
4f0a26fa4d
commit
b69677548c
@ -652,8 +652,15 @@ static bool checkMissing(SMESH_Gen* aGen,
|
||||
set<SMESH_subMesh*>& aCheckedMap,
|
||||
list< SMESH_Gen::TAlgoStateError > & theErrors)
|
||||
{
|
||||
if ( aSubMesh->GetSubShape().ShapeType() == TopAbs_VERTEX ||
|
||||
aCheckedMap.count( aSubMesh ))
|
||||
switch ( aSubMesh->GetSubShape().ShapeType() )
|
||||
{
|
||||
case TopAbs_EDGE:
|
||||
case TopAbs_FACE:
|
||||
case TopAbs_SOLID: break; // check this submesh, it can be meshed
|
||||
default:
|
||||
return true; // not meshable submesh
|
||||
}
|
||||
if ( aCheckedMap.count( aSubMesh ))
|
||||
return true;
|
||||
|
||||
//MESSAGE("=====checkMissing");
|
||||
|
Loading…
Reference in New Issue
Block a user