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:47:21 +00:00
parent 668fab300c
commit c431d7d49e

View File

@ -241,10 +241,10 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
sm->ComputeStateEngine( SMESH_subMesh::COMPUTE );
// -----------------------------------------------
// mesh the rest subshapes starting from vertices
// -----------------------------------------------
ret = Compute( aMesh, aShape, /*anUpward=*/true );
// ------------------------
// mesh the rest subshapes
// ------------------------
ret = Compute( aMesh, aShape );
}
MESSAGE( "VSR - SMESH_Gen::Compute() finished, OK = " << ret);