Avoid meshing submeshes with global algos under submeshes that are to

be meshed with all-dim algos like NETGEN 1D-2D
This commit is contained in:
eap 2008-11-20 08:46:09 +00:00
parent 15c63b4385
commit 9da3ff46f0

View File

@ -229,8 +229,8 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
if ( SMESH_Algo* subAlgo = (SMESH_Algo*) aMesh.GetHypothesis( aSubShape, filter, true )) {
SMESH_Hypothesis::Hypothesis_Status status;
if ( subAlgo->CheckHypothesis( aMesh, aSubShape, status ))
// mesh a lower smToCompute starting from vertices
Compute( aMesh, aSubShape, /*anUpward=*/true );
// mesh a lower smToCompute
Compute( aMesh, aSubShape );
}
}
}