mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 14:10:33 +05:00
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
Use aGlobIgnoAlgo->NeedLowerHyps( dim ) in checkConformIgnoredAlgos()
This commit is contained in:
parent
3a62786158
commit
9b0f684048
@ -591,12 +591,13 @@ static bool checkConformIgnoredAlgos(SMESH_Mesh& aMesh,
|
||||
}
|
||||
else
|
||||
{
|
||||
bool isGlobal = (aMesh.IsMainShape( aSubMesh->GetSubShape() ));
|
||||
int dim = algo->GetDim();
|
||||
bool isGlobal = (aMesh.IsMainShape( aSubMesh->GetSubShape() ));
|
||||
int dim = algo->GetDim();
|
||||
int aMaxGlobIgnoDim = ( aGlobIgnoAlgo ? aGlobIgnoAlgo->GetDim() : -1 );
|
||||
bool isNeededDim = ( aGlobIgnoAlgo ? aGlobIgnoAlgo->NeedLowerHyps( dim ) : false );
|
||||
|
||||
if ( dim < aMaxGlobIgnoDim &&
|
||||
( isGlobal || !aGlobIgnoAlgo->SupportSubmeshes() ))
|
||||
if (( dim < aMaxGlobIgnoDim && !isNeededDim ) &&
|
||||
( isGlobal || !aGlobIgnoAlgo->SupportSubmeshes() ))
|
||||
{
|
||||
// algo is hidden by a global algo
|
||||
theErrors.push_back( SMESH_Gen::TAlgoStateError() );
|
||||
|
Loading…
Reference in New Issue
Block a user